Pipe streams and handle events.
Install
npm i pipe-io
API
pipe
Create pipe between streams and adds callback wich would be called once whenever everything is done, or error occures.
const fs = ; const pipe = ;const tryToCatch = ; const NAME = 'README.md';const NAME2 = 'README2.md';const readStream = fs;const writeStream = fs; const e = await ;
Related
- Pullout - pull out data from stream
License
MIT