editor
launch $EDITOR in your program
Last updated 14 years ago .
MIT · Repository · Original npm · Tarball · package.json
$ npm install editor 
SYNC missed versions from official npm registry.

editor

Launch $EDITOR in your program.

example

var editor = require('editor');
editor('beep.json', function (code, sig) {
    console.log('finished editing with code ' + code);
});

$ node edit.js

editor

finished editing with code 0

methods

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 do:

npm install editor

license

MIT

Current Tags

  • 1.0.0                                ...           latest (12 years ago)

9 Versions

  • 1.0.0                                ...           12 years ago
  • 0.1.0                                ...           13 years ago
  • 0.0.6                                ...           13 years ago
  • 0.0.5                                ...           13 years ago
  • 0.0.4                                ...           14 years ago
  • 0.0.3                                ...           14 years ago
  • 0.0.2                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
  • 0.0.0                                ...           14 years ago
Maintainers (1)
Downloads
Total 40
Today 6
This Week 6
This Month 19
Last Day 0
Last Week 0
Last Month 9
Dependencies (0)
None
Dev Dependencies (1)
Dependents (4)

© 2010 - cnpmjs.org x YWFE | Home | YWFE