string-to-stream

Convert a string into a stream (streams2)


Keywords
convert, convert string to stream, str, str stream, stream, string, string stream, string to stream, browser, browserify, javascript, nodejs
License
MIT
Install
npm install string-to-stream@3.0.1

Documentation

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.