npm.io
1.3.0 • Published 1 year ago

@nielse63/exec

Licence
MIT
Version
1.3.0
Deps
0
Size
3 kB
Vulns
0
Weekly
0

@nielse63/exec

Run child process asynchronously

npm (scoped) npm GitHub issues by-label

Installation

npm install --save @nielse63/exec

Usage

import exec from '@nielse63/exec';

const output = await exec('echo "howdy!"');
// "howdy!"

Or CommonJS:

const exec = require('@nielse63/exec');

const output = await exec('echo "howdy!"');
// "howdy!"

Keywords