christian 4571a14169 android fix | 3 роки тому | |
---|---|---|
.. | ||
example | 3 роки тому | |
LICENSE | 3 роки тому | |
README.markdown | 3 роки тому | |
index.js | 3 роки тому | |
package.json | 3 роки тому |
Launch $EDITOR in your program.
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
var editor = require('editor')
Launch the $EDITOR
(or opts.editor
) for file
.
When the editor exits, cb(code, sig)
fires.
With npm do:
npm install editor
MIT