string-to-stream 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.