node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

string-to-stream

string-to-stream travis npm

Convert a string into a stream (streams2)

browser support

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.