string-to-stream icon indicating copy to clipboard operation
string-to-stream copied to clipboard

Convert a string into a stream (streams2)

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.