string-to-stream

Convert a string into a stream (streams2)

Usage no npm install needed!

<script type="module">
  import stringToStream from 'https://cdn.skypack.dev/string-to-stream';
</script>

README

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.