nprocess

1.0.4 • Public • Published

nprocess

Build Status

Installation

Install with npm:

npm install --save nprocess

Usage

run single command

var nprocess = require('../nprocess')
nprocess
  .run(['echo', something'])
  .then(console.log)
// 'something'

run multiple commands

var nprocess = require('../nprocess')
var commands = [
  ["echo", "hey"],
  ["echo", "ho"],
  ["echo", "let's go"],
]
return nprocess
  .runMulti(commands)
  .then(console.log)
// [ 'hey', 'ho', 'let\'s go' ]

Testing

From the repo root:

npm install
npm test

Readme

Keywords

none

Package Sidebar

Install

npm i nprocess

Weekly Downloads

31

Version

1.0.4

License

none

Last publish

Collaborators

  • anpandu