childpiper

0.0.1 • Public • Published

childp|per


[input-stream] --> [child_process1, ..., child_processN] --> [output-stream]

Thats what p|per is for.

childpiper(
  inputStream, 
  [
    spawn('tr', ['[:lower:]', '[:upper:]']),
    spawn('awk', ['{print $1}']),
    spawn('sed', ['s/O/o/'])
  ],
  outputStream
).pipe(someOtherStream)

Minimal implementation, probably just for a small amount of use-cases!

Readme

Keywords

none

Package Sidebar

Install

npm i childpiper

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • johannesboyne