Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gagle/node-streamifier
Converts a Buffer/String to a readable stream.
https://github.com/gagle/node-streamifier
Last synced: 6 days ago
JSON representation
Converts a Buffer/String to a readable stream.
- Host: GitHub
- URL: https://github.com/gagle/node-streamifier
- Owner: gagle
- License: mit
- Created: 2013-04-01T06:00:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T16:25:08.000Z (about 8 years ago)
- Last Synced: 2024-10-30T03:36:24.256Z (9 days ago)
- Language: JavaScript
- Homepage:
- Size: 207 KB
- Stars: 150
- Watchers: 2
- Forks: 12
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
- License: LICENSE
Awesome Lists containing this project
- awesome-nodejs - node-streamifier - Converts a Buffer/String to a readable stream. (Repository / Streams)
- awesome-nodejs-streams - gagle/node-streamifier - Converts a Buffer/String to a readable stream. (Modules)
README
streamifier
===========#### Converts a Buffer/String into a readable stream ####
[![npm][npm-image]][npm-url]
___module_.createReadStream(object[, options]) : Readable__Returns a Readable stream.
The `object` can be of any data type. If it is a Buffer or a string, the available `options` are [`highWaterMark` and `encoding`](http://nodejs.org/api/stream.html#stream_new_stream_readable_options), otherwise the Readable stream is automatically set in [object mode](http://nodejs.org/api/stream.html#stream_object_mode) and the `options` parameter is ignored.
[npm-image]: https://img.shields.io/npm/v/streamifier.svg?style=flat
[npm-url]: https://npmjs.org/package/streamifier