christian 4571a14169 android fix | 4 years ago | |
---|---|---|
.. | ||
example | 4 years ago | |
LICENSE | 4 years ago | |
README.markdown | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
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