io-string
v1.0.0
Published
I/O String object. It stores channel and raw chunk and properly converts to string.
Downloads
7
Maintainers
Readme
I/O String
I/O String is useful for capturing and logging asynchronous spawned process output. It allows to store raw chunk and channel descriptor.
var chunk = Buffer.from('Hello')
var str = new IOString(chunk, 0);
console.log('%s', str); // => "Hello"
Installation
Via NPM:
npm i io-string
License
Licensed under MIT license.