{"name":"editor","version":"0.0.0","description":"launch $EDITOR in your program","main":"index.js","bin":{},"directories":{"example":"example","test":"test"},"dependencies":{},"devDependencies":{"tap":"~0.2.5"},"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"},"_npmUser":{"name":"substack","email":"mail@substack.net"},"_id":"editor@0.0.0","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"83fe7d13e808125b51a92db935fed672a5ae6386","tarball":"http://registry-npm.ywwl.com/editor/download/editor-0.0.0.tgz","integrity":"sha512-o9JXkKnp0ycu0lbOb9PRH0APmx3F2x24PCImJ6ubjTtOkVIQ1CCV2f+blaEzOAJZ46qOLWY/MVLyM2gR16JBbg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHbDQGqZ0Rtc8ah+25JBmXegYaetGa0taXzX0a9Bsj93AiAuf3OeTP6ox/s1px+eKAsF30WkTDQRsqr5vV2AjQOq2Q=="}],"size":1182,"noattachment":false,"key":"/editor/-/editor-0.0.0.tgz"},"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":1339560131703,"_cnpm_publish_time":1339560131703,"dist-tags":{"latest":"1.0.0"}}