bluebird-promise-process

0.0.2 • Public • Published

promise-process

Converts a (finite) child process to a Bluebird Promise

Example

const fromProcess = require('bluebird-promise-process').fromProcess;

fromProcess(
  spawn('jspm', ['install', '-y'], {
      cwd: __dirname,
      detached: false
  })
).then(() => console.log('finished jspm install'));

Package Sidebar

Install

npm i bluebird-promise-process

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • uriel2099