Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 392 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 392 Bytes

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