{"name":"editor","version":"0.0.1","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.1","optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.19","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"4b60e105dda2e8b1bb6d398697afc0458a1ad71b","tarball":"http://registry-npm.ywwl.com/editor/download/editor-0.0.1.tgz","integrity":"sha512-KeuKT92lLJ35MZrnWzPriglGJrB4GP7ExCx8CTJBQI6RgoN7K28alubbg3gc8oSnuRuohCz+qp3lEveEQXdnrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICdNq7jrt6rM8W5u6EKbdZhzj8oD7Ob2h9c3Q/LMGE3OAiB8gWzOykxJNgBOSGl8PAFjsQS9OrqBHbHznl0/dyTIVg=="}],"size":1181,"noattachment":false,"key":"/editor/-/editor-0.0.1.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":1339567216734,"_cnpm_publish_time":1339567216734,"dist-tags":{"latest":"1.0.0"}}