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
- Host: GitHub
- URL: https://github.com/jlyonsmith/stream-utils
- Owner: jlyonsmith
- License: mit
- Created: 2020-08-31T15:19:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-04T17:02:42.000Z (almost 6 years ago)
- Last Synced: 2025-02-23T15:08:25.663Z (over 1 year ago)
- Language: JavaScript
- Size: 230 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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`.