5.0.1 • Published 1 month ago

pullout v5.0.1

Weekly downloads
763
License
MIT
Repository
github
Last release
1 month ago

Pullout License NPM version Build Status Coverage Status

Pull out data from stream.

Install

npm i pullout

pullout(stream, type = 'string')

Type could be string or buffer.

const pullout = require('pullout');
const fs = require('fs');

const readStream = fs.createReadStream(__filename);

const data = await pullout(readStream);
console.log(data);

Related

  • pipe-io - pipe streams and handle events

License

MIT