1.12.0 • Published 4 years ago

@marcopeg/spawn v1.12.0

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

@marcopeg/spawn

An async wrapper around child_process.spawn with a rich API to control the spawned process.

const spawn = require("@marcopeg/spawn");
const p1 = spawn("echo 123");
const r1 = await p1;
console.log(r1.stdout[0]);
// -> 123

For more examples take a look at the unit tests

1.12.0

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.0

4 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago