Package Exports
- pullout
- pullout/lib/pullout.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pullout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Pullout

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