0.0.1 • Published 10 years ago

childpiper v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

#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!