X7ROOT File Manager
Current Path:
/lib/node_modules/npm/node_modules/editor
lib
/
node_modules
/
npm
/
node_modules
/
editor
/
ðŸ“
..
📄
LICENSE
(1.11 KB)
📄
README.markdown
(653 B)
ðŸ“
example
📄
index.js
(595 B)
📄
package.json
(1.38 KB)
Editing: README.markdown
editor ====== Launch $EDITOR in your program. example ======= ``` js var editor = require('editor'); editor('beep.json', function (code, sig) { console.log('finished editing with code ' + code); }); ``` *** ``` $ node edit.js ```  ``` finished editing with code 0 ``` methods ======= ``` js var editor = require('editor') ``` editor(file, opts={}, cb) ------------------------- Launch the `$EDITOR` (or `opts.editor`) for `file`. When the editor exits, `cb(code, sig)` fires. install ======= With [npm](http://npmjs.org) do: ``` npm install editor ``` license ======= MIT
Upload File
Create Folder