Create a stream from a string. Sugary wrapper around from2.
$ npm install from2-string
const fromString =
In order to use
from2 with strings, you must write some boilerplate to
break the string in correctly sized chunks. This module handles that
boilerplate for you, so you can directly source from a string.
- from2 - Convenience wrapper for ReadableStream, with an API lifted from "from" and "through2"
- from2-array - Create a from2 stream based on an array of source values