🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@studio/editor

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@studio/editor

Launch $EDITOR in your program

1.1.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

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

Keywords

text

FAQs

Package last updated on 17 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts