https://github.com/parro-it/piper
🛩 runs multiple shell commands piping their stdin/stdout
https://github.com/parro-it/piper
Last synced: 11 months ago
JSON representation
🛩 runs multiple shell commands piping their stdin/stdout
- Host: GitHub
- URL: https://github.com/parro-it/piper
- Owner: parro-it
- License: mit
- Created: 2017-10-03T15:33:25.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-12T19:16:22.000Z (about 8 years ago)
- Last Synced: 2024-08-09T06:53:17.367Z (over 1 year ago)
- Language: JavaScript
- Size: 85 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# piper 🛩
runs multiple shell commands piping their stdin/stdout
# Features
* Automatic pipes stdin & stdout of all processes.
* `exitCode` promise is resolved with exit code of last code in the pipe when last process exit.
* stdin, stdout, stderr of resulting process are returned as stream.
* stdout, stderr of resulting process are also thenable. When they are awaited, they are fullfilled with stream buffer concatenation.
* stderr of all processes is merged in to one.
* Automatic unpipe streams when processes terminate.
* `Error` event of all processes is forwarded to `error` event of the result object.