Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/develephant/spawnp

A simple Async/Promise wrapper around child_process.spawn
https://github.com/develephant/spawnp

async await es2017 node process promise spawn

Last synced: about 1 month ago
JSON representation

A simple Async/Promise wrapper around child_process.spawn

Awesome Lists containing this project

README

        

# `spawnp`

### A simple Async/Promise wrapper around `child_process.spawn`

## Install

```
npm i @develephant/spawnp --save
```

## Usage

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

## Example

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

---

#### `spawnp` ⋆ © 2017 develephant ⋆ MIT license