$ npm install string-to-stream
npm install string-to-stream
Use string-to-stream like this:
var str = require('string-to-stream')
str('hi there').pipe(process.stdout) // => 'hi there'
MIT. Copyright (c) Feross Aboukhadijeh.
© 2010 - cnpmjs.org x YWFE | Home | YWFE