1.1.0 • Published 4 years ago

@ricokahler/exec v1.1.0

Weekly downloads
41
License
MIT
Repository
-
Last release
4 years ago

@ricokahler/exec

Whenever I write a build script, I always write a little helper that wraps spawn so instead I made a small package namespaced by my name.

Usage

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

async function main() {
  // only runs the command, doesn't return anything
  await exec('echo hello world!'):
}

stdout is redirected to process.stdout and stderr to process.stderr

that's it!

1.1.0

4 years ago

1.0.0

4 years ago