lyxaira.glass 74ca844f42 Actualizacion cambios generados: seccion #12, #14 y #15. | vor 4 Jahren | |
---|---|---|
.. | ||
example | vor 4 Jahren | |
LICENSE | vor 4 Jahren | |
README.markdown | vor 4 Jahren | |
index.js | vor 4 Jahren | |
package.json | vor 4 Jahren |
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