Convert a string into a stream (streams2)
Branch: master
Clone or download
Latest commit 6e078d0 Sep 3, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test initial commit Sep 3, 2014
.npmignore npmignore Apr 28, 2018
.travis.yml travis: test node LTS Apr 28, 2018
LICENSE initial commit Sep 3, 2014
README.md remove testling Sep 3, 2018
index.js use readable-stream Apr 22, 2016
package.json remove testling Sep 3, 2018

README.md

string-to-stream travis npm downloads javascript style guide

Convert a string into a stream (streams2)

install

npm install string-to-stream

usage

Use string-to-stream like this:

var str = require('string-to-stream')

str('hi there').pipe(process.stdout) // => 'hi there'

license

MIT. Copyright (c) Feross Aboukhadijeh.