An open API service indexing awesome lists of open source software.

https://github.com/jlyonsmith/stream-utils

A collection of Node.js stream utilities
https://github.com/jlyonsmith/stream-utils

Last synced: 9 months ago
JSON representation

A collection of Node.js stream utilities

Awesome Lists containing this project

README

          

# Stream Utilities

Contains a collection of [Node.js Stream](https://nodejs.org/dist/latest-v14.x/docs/api/stream.html) utilities.

- `stringToStream` - Create a `Readable` from a string
- `pipeToPromise` - `pipe` between a `Readable` and `Writable` stream returning a `Promise`
- `streamToBuffer` - Read a `Readable` into a `Buffer`.