@studio/editor

1.1.1 • Public • Published

Studio Editor

📝 Launch $EDITOR in your program.

A fork of substack/node-editor.

Usage

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

API

const editor = require('@studio/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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    721
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    721
  • 1.1.0
    2

Package Sidebar

Install

npm i @studio/editor

Weekly Downloads

265

Version

1.1.1

License

MIT

Unpacked Size

4.79 kB

Total Files

7

Last publish

Collaborators

  • mantoni