pullout
pull out data from stream
Last updated 3 years ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install pullout 
SYNC missed versions from official npm registry.

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

Current Tags

  • 5.0.1                                ...           latest (3 years ago)

9 Versions

  • 5.0.1                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.0                                ...           7 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.3                                ...           8 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 22
Today 0
This Week 0
This Month 12
Last Day 0
Last Week 0
Last Month 3
Dependencies (0)
None
Dev Dependencies (9)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE