package
Create a stream from a string. Sugary wrapper around from2
npm install from2-stringGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Create a stream from a string. Sugary wrapper around from2.
$ npm install from2-stringconst fromString = require('from2-string')
fromString('hello world').pipe(process.stdout)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.
Estimated unpacked size across 9 packages.
476.0 kB
Includes dependencies.