| { |
| "_from": "editor@>=1.0.0 <1.1.0", |
| "_id": "editor@1.0.0", |
| "_location": "/npm/editor", |
| "_nodeVersion": "1.6.3", |
| "_npmUser": { |
| "email": "substack@gmail.com", |
| "name": "substack" |
| }, |
| "_npmVersion": "2.7.5", |
| "_phantomChildren": {}, |
| "_requiredBy": [ |
| "/npm" |
| ], |
| "_resolved": "https://registry.npmjs.org/editor/-/editor-1.0.0.tgz", |
| "_shasum": "60c7f87bd62bcc6a894fa8ccd6afb7823a24f742", |
| "_shrinkwrap": null, |
| "author": { |
| "email": "mail@substack.net", |
| "name": "James Halliday", |
| "url": "http://substack.net" |
| }, |
| "bugs": { |
| "url": "https://github.com/substack/node-editor/issues" |
| }, |
| "dependencies": {}, |
| "description": "launch $EDITOR in your program", |
| "devDependencies": { |
| "tap": "~0.4.4" |
| }, |
| "directories": { |
| "example": "example", |
| "test": "test" |
| }, |
| "dist": { |
| "shasum": "60c7f87bd62bcc6a894fa8ccd6afb7823a24f742", |
| "tarball": "http://registry.npmjs.org/editor/-/editor-1.0.0.tgz" |
| }, |
| "engine": { |
| "node": ">=0.6" |
| }, |
| "gitHead": "15200af2c417c65a4df153f39f32143dcd476375", |
| "homepage": "https://github.com/substack/node-editor", |
| "keywords": [ |
| "text", |
| "edit", |
| "shell" |
| ], |
| "license": "MIT", |
| "main": "index.js", |
| "maintainers": [ |
| { |
| "email": "mail@substack.net", |
| "name": "substack" |
| } |
| ], |
| "name": "editor", |
| "optionalDependencies": {}, |
| "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", |
| "readmeFilename": "README.markdown", |
| "repository": { |
| "type": "git", |
| "url": "git://github.com/substack/node-editor.git" |
| }, |
| "scripts": { |
| "test": "tap test/*.js" |
| }, |
| "version": "1.0.0" |
| } |