node package manager
Painless code sharing. npm Orgs help your team discover, share, and reuse code. Create a free org »

@develephant/spawnp

spawnp

A simple Async/Promise wrapper around child_process.spawn

Install

npm i @develephant/spawnp --save

Usage

const spawnp = require('@develephant/spawnp')

Example

async function run() {
  await spawnp('browserify', ['index.js', '-o', 'bundle.js'], process.cwd())
}

spawnp ⋆ © 2017 develephant ⋆ MIT license