パッケージの詳細

pullout

coderaiser3.3kMIT5.0.1

pull out data from stream

get, pull, body, data

readme

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

更新履歴

2024.03.16, v5.0.1

fix:

  • 5d53059 docs

2024.03.16, v5.0.0

feature:

  • c9885ef pullout: drop support of node < 18
  • d57e558 pullout: c8 v9.1.0
  • 7d8426b pullout: nodemon v3.1.0
  • 37ac35b pullout: supertape v10.4.0
  • c4789cd pullout: eslint v8.57.0
  • ae25e96 pullout: eslint-plugin-putout v22.4.1
  • bf491a5 pullout: madrun v10.0.1
  • 7259dd8 pullout: putout v35.7.4
  • 8c8c6e3 (package) supertape v2.0.1
  • e7c2266 (package) eslint-plugin-putout v5.0.1
  • 0654f08 (package) madrun v7.0.0
  • 4e0987a (package) putout v9.1.0
  • 499ecd7 (package) eslint v7.3.1
  • 4c3b532 (package) try-to-catch v3.0.0
  • a050b34 (package) nodemon v2.0.2
  • 124ae9d (package) madrun v5.4.1
  • 778acb3 (package) eslint-plugin-putout v3.2.1
  • f2ba36e (package) putout v7.4.3
  • 58d14ef (package) eslint-plugin-node v11.0.0
  • bbe7418 (package) nyc v15.0.0
  • 810e822 (package) try-to-catch v2.0.1

2019.09.21, v4.0.0

feature:

  • (pullout) drop support of node < 10
  • (pullout) madrun
  • (package) nyc v14.0.0

2018.11.13, v3.0.0

feature:

  • (package) nyc v13.1.0
  • (package) eslint-plugin-node v8.0.0
  • (package) eslint v5.9.0
  • (package) drop support of node < 8
  • (pullout) promisify

2018.06.06, v2.0.0

feature:

  • (pullout) drop support of node < 4

2018.06.05, v1.0.3

fix:

  • (pullout) node v4 support

feature:

  • (package) nyc v12.0.2
  • (package) add eslint-plugin-node v6
  • (package) redrun v6.0.0
  • (package) buble v0.19.2
  • (package) buble v0.18.0
  • (package) buble v0.17.0
  • (package) coveralls v3.0.0
  • (package) buble v0.16.0
  • (package) eslint v4.0.0
  • (package) nyc v11.0.2
  • (package) buble v0.15.1
  • (package) nyc v10.0.0

2016.11.22, v1.0.2

fix:

  • (pullout) Buffer.from -> Buffer.concat

feature:

  • (package) nyc v9.0.1

2016.10.27, v1.0.1

fix:

  • (pullout) empty string in stream