1.2.1 • Published 5 years ago

@danielberndt/exec v1.2.1

Weekly downloads
8
License
ISC
Repository
github
Last release
5 years ago

exec

promisifies require("child_process").exec and pretty-prints the output of stdout and stderr as data comes in.

install

npm i @danielberndt/exec;

usage examples:

const result = await exec("ls -l");
exec("ls -l doesntexist").catch(errCode => {
  // do something with errCode
});
1.2.1

5 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago