{"name":"editor","version":"0.0.6","description":"launch $EDITOR in your program","main":"index.js","directories":{"example":"example","test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.4.4"},"scripts":{"test":"tap test/*.js"},"repository":{"type":"git","url":"git://github.com/substack/node-editor.git"},"homepage":"https://github.com/substack/node-editor","keywords":["text","edit","shell"],"author":{"name":"James Halliday","email":"mail@substack.net","url":"http://substack.net"},"license":"MIT","engine":{"node":">=0.6"},"bugs":{"url":"https://github.com/substack/node-editor/issues"},"_id":"editor@0.0.6","dist":{"shasum":"f25a2bc76b875f27f1f65ec5239fc2fdb5e3422a","tarball":"http://registry-npm.ywwl.com/editor/download/editor-0.0.6.tgz","integrity":"sha512-1TTKuRVBmcyZCGOiak0GKuFQxQUcu9t8KVglTE9NagSLgQzztYw57ZJZa2WlIvGI/nKh3/A0wU/xPk3b8DiqEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCZs0WHMnCume7oMG2cudWTH8iENy8ONKtxCPihqO0h/wIgEHNcoqrvJGu1oDs6GVjTlb3hNSqhe8Eb/Q9Q/Kq2O0c="}],"size":1967,"noattachment":false,"key":"/editor/-/editor-0.0.6.tgz"},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"substack","email":"mail@substack.net"},"maintainers":[{"name":"substack","email":"mail@substack.net"}],"readme":"editor\n======\n\nLaunch $EDITOR in your program.\n\nexample\n=======\n\n``` js\nvar editor = require('editor');\neditor('beep.json', function (code, sig) {\n    console.log('finished editing with code ' + code);\n});\n```\n\n***\n\n```\n$ node edit.js\n```\n\n![editor](http://substack.net/images/screenshots/editor.png)\n\n```\nfinished editing with code 0\n```\n\nmethods\n=======\n\n``` js\nvar editor = require('editor')\n```\n\neditor(file, opts={}, cb)\n-------------------------\n\nLaunch the `$EDITOR` (or `opts.editor`) for `file`.\n\nWhen the editor exits, `cb(code, sig)` fires.\n\ninstall\n=======\n\nWith [npm](http://npmjs.org) do:\n\n```\nnpm install editor\n```\n\nlicense\n=======\n\nMIT\n","publish_time":1387836247040,"_cnpm_publish_time":1387836247040,"dist-tags":{"latest":"1.0.0"}}