Socket
Book a DemoInstallSign in
Socket

node-vim

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vim

open vim or other editor in nodejs

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

node-vim

open an vim editor in Unix-like system, notepad in windows or specified editor via nodejs.

Install

$ npm install node-vim --save

Usage

var nv = require('node-vim');
var option = {};
nv.editor(option).then(function(content) {
    console.log(content);
});
console.log('execute first');

synchronous version

var nv = require('node-vim');
var option = {};
var content = nv.editorSync(option);
console.log(content);

Keywords

node

FAQs

Package last updated on 13 May 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