stream-to-string
Just npm install @xstoudi/stream-to-string
and have fun!
Example
The second argument is optional (default: utf8
).
const streamToString = require('@xstoudi/stream-to-string')
streamToString(myStream, { encoding: 'binary' })
Just npm install @xstoudi/stream-to-string
and have fun!
The second argument is optional (default: utf8
).
const streamToString = require('@xstoudi/stream-to-string')
streamToString(myStream, { encoding: 'binary' })
npm i @xstoudi/stream-to-string
0
1.0.1
MIT
1.12 kB
3