{"name":"editor","version":"0.1.0","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.1.0","dist":{"shasum":"542f4662c6a8c88e862fc11945e204e51981b9a1","tarball":"http://registry-npm.ywwl.com/editor/download/editor-0.1.0.tgz","integrity":"sha512-yfcYVVU8DGWFnC6q15C7GLSPqr1N14h2PLTfkCtIoZUU46jWMbKkOzK20jZ2u2C9pVKrjLfdnL/D5Up7mqONgQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD90hZQf71VrljviY01olhRw6q0U6iq5KciCiGTgztS3gIhAJTF0tt35p9sw/H/qTqsPXCCDcA12ihr6Pf7Zio+cRTp"}],"size":1893,"noattachment":false,"key":"/editor/-/editor-0.1.0.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":1391050605077,"_cnpm_publish_time":1391050605077,"dist-tags":{"latest":"1.0.0"}}