@shepherdorg/ts-exec
TypeScript icon, indicating that this package has built-in type declarations

5.2.0 • Public • Published

TS Exec

Promise based convenience wrapper around child_process.ExecFile. Emphasis on testability, so it comes with a convenient test double, enabling you to unit test your CLI controlling programs.

Optional collection of stdout/stderr process outputs to be returned with the promise result.

Option to provide string to be written to stdin of the child process.

See the specs for example usage.

Package Sidebar

Install

npm i @shepherdorg/ts-exec

Weekly Downloads

9

Version

5.2.0

License

MIT

Unpacked Size

15 kB

Total Files

10

Last publish

Collaborators

  • stefaneg
  • nordfjord