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: 12 months ago
JSON representation
A simple Async/Promise wrapper around child_process.spawn
- Host: GitHub
- URL: https://github.com/develephant/spawnp
- Owner: develephant
- License: other
- Created: 2017-03-23T18:25:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-23T18:25:36.000Z (about 9 years ago)
- Last Synced: 2025-04-06T12:06:25.907Z (12 months ago)
- Topics: async, await, es2017, node, process, promise, spawn
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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