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.
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.