@xstoudi/stream-to-string
v1.0.1
Published
An efficient stream to string method
Downloads
3
Readme
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' })