{"_id":"pullout","_rev":"4138639","name":"pullout","description":"pull out data from stream","dist-tags":{"latest":"5.0.1"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"time":{"modified":"2026-03-01T19:03:58.000Z","created":"2016-10-27T10:36:31.560Z","5.0.1":"2024-03-16T12:36:39.434Z","5.0.0":"2024-03-16T12:27:24.567Z","4.0.0":"2019-09-21T19:03:31.189Z","3.0.0":"2018-11-13T11:47:39.177Z","2.0.0":"2018-06-06T08:41:38.275Z","1.0.3":"2018-06-05T14:37:19.864Z","1.0.2":"2016-11-22T14:07:28.282Z","1.0.1":"2016-10-27T13:17:15.061Z","1.0.0":"2016-10-27T10:36:31.560Z"},"users":{},"author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"versions":{"5.0.1":{"name":"pullout","version":"5.0.1","type":"commonjs","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","watch:test":"madrun watch:test","watcher":"madrun watcher","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"c8":"^9.1.0","eslint":"^8.57.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^22.4.1","madrun":"^10.0.1","nodemon":"^3.1.0","putout":"^35.7.4","supertape":"^10.4.0","try-to-catch":"^3.0.0"},"engines":{"node":">=18"},"_id":"pullout@5.0.1","gitHead":"a0a8d68b8d8e66f00aba7d0787db0de75adef8ad","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"shasum":"80f659593905ad998a7658bd94da1eb07482992a","size":2623,"noattachment":false,"key":"/pullout/-/pullout-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-5.0.1.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_5.0.1_1710592599270_0.4021431139378293"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-16T12:36:39.434Z","publish_time":1710592599434,"_source_registry_name":"default","_cnpm_publish_time":1710592599434},"5.0.0":{"name":"pullout","version":"5.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","watch:test":"madrun watch:test","watcher":"madrun watcher","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"c8":"^9.1.0","eslint":"^8.57.0","eslint-plugin-node":"^11.0.0","eslint-plugin-putout":"^22.4.1","madrun":"^10.0.1","nodemon":"^3.1.0","putout":"^35.7.4","supertape":"^10.4.0","try-to-catch":"^3.0.0"},"engines":{"node":">=18"},"_id":"pullout@5.0.0","gitHead":"28601202f673657a391c818fcc71c2b4662ff9b6","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"shasum":"1d0892c2eb471ca7f37eb45c98ec612dc86f4588","size":2581,"noattachment":false,"key":"/pullout/-/pullout-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-5.0.0.tgz"},"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_5.0.0_1710592044426_0.8163863227155126"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-03-16T12:27:24.567Z","publish_time":1710592044567,"_source_registry_name":"default","_cnpm_publish_time":1710592044567},"4.0.0":{"name":"pullout","version":"4.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"madrun test","lint":"madrun lint","fix:lint":"madrun fix:lint","watch:test":"madrun watch:test","watcher":"madrun watcher","coverage":"madrun coverage","report":"madrun report"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"coveralls":"^3.0.0","eslint":"^6.4.0","eslint-plugin-node":"^10.0.0","eslint-plugin-putout":"^2.0.0","madrun":"^3.0.5","nodemon":"^1.11.0","nyc":"^14.0.0","putout":"^6.1.0","supertape":"^1.2.3","try-to-catch":"^1.1.1"},"engines":{"node":">=10.0.0"},"gitHead":"41dbc05e65dd18631626c31b7c62ee493bbdbb9e","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@4.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.11.3","dist":{"shasum":"8ceb177d1d252c8f67bffe9ba2930522084311b1","size":2339,"noattachment":false,"key":"/pullout/-/pullout-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-4.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_4.0.0_1569092611078_0.23067258203828844"},"_hasShrinkwrap":false,"publish_time":1569092611189,"_cnpm_publish_time":1569092611189,"_cnpmcore_publish_time":"2021-12-16T22:42:54.933Z"},"3.0.0":{"name":"pullout","version":"3.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"coveralls":"^3.0.0","eslint":"^5.9.0","eslint-plugin-node":"^8.0.0","nodemon":"^1.11.0","nyc":"^13.1.0","redrun":"^7.0.0","tape":"^4.2.0","try-to-catch":"^1.1.1","try-to-tape":"^1.0.0"},"engines":{"node":">=8.0.0"},"gitHead":"54106e7e923f1da996071e324339d968697a9deb","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"44949fd72c5a86c81a8e02456cfef3504824379e","size":2464,"noattachment":false,"key":"/pullout/-/pullout-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-3.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_3.0.0_1542109658985_0.44839783706114145"},"_hasShrinkwrap":false,"publish_time":1542109659177,"_cnpm_publish_time":1542109659177,"_cnpmcore_publish_time":"2021-12-16T22:42:55.141Z"},"2.0.0":{"name":"pullout","version":"2.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"coveralls":"^3.0.0","eslint":"^4.0.0","eslint-plugin-node":"^6.0.1","nodemon":"^1.11.0","nyc":"^12.0.2","redrun":"^6.0.0","tape":"^4.2.0"},"engines":{"node":">=4.0.0"},"gitHead":"64fea3dc760555442a49c373a3db9234f60ffde0","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@2.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"c0e139c4cde0767da83a8c14e984bd8155762a4a","size":2413,"noattachment":false,"key":"/pullout/-/pullout-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-2.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_2.0.0_1528274498208_0.36646190308430837"},"_hasShrinkwrap":false,"publish_time":1528274498275,"_cnpm_publish_time":1528274498275,"_cnpmcore_publish_time":"2021-12-16T22:42:55.403Z"},"1.0.3":{"name":"pullout","version":"1.0.3","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls","wisdom":"npm run build","6to5":"buble lib -o legacy","build":"redrun 6to5 legacy","legacy":"echo \"module.exports = require('./pullout');\" > legacy/index.js"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"buble":"^0.19.2","coveralls":"^3.0.0","eslint":"^4.0.0","eslint-plugin-node":"^6.0.1","nodemon":"^1.11.0","nyc":"^12.0.2","redrun":"^6.0.0","tape":"^4.2.0"},"gitHead":"d031fa6cc9e469b16f465b60b161be4a8f321186","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@1.0.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"e5dbc1c0ddbaec9bd74a3fabfde41c7760c57a71","size":2649,"noattachment":false,"key":"/pullout/-/pullout-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-1.0.3.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pullout_1.0.3_1528209439689_0.4205878548196271"},"_hasShrinkwrap":false,"publish_time":1528209439864,"_cnpm_publish_time":1528209439864,"_cnpmcore_publish_time":"2021-12-16T22:42:55.811Z"},"1.0.2":{"name":"pullout","version":"1.0.2","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls","wisdom":"npm run build","6to5":"buble lib -o legacy","build":"redrun 6to5 legacy","legacy":"echo \"module.exports = require('./pullout');\" > legacy/index.js"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"buble":"^0.14.0","coveralls":"^2.11.6","eslint":"^3.8.1","nodemon":"^1.11.0","nyc":"^9.0.1","redrun":"^5.9.2","tape":"^4.2.0"},"gitHead":"cfb37952dff537297825494ce05667ca392f33cb","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@1.0.2","_shasum":"5345ea9fbad56dbc504ddb204f9227007b67d1e3","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.1.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"5345ea9fbad56dbc504ddb204f9227007b67d1e3","size":2587,"noattachment":false,"key":"/pullout/-/pullout-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-1.0.2.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/pullout-1.0.2.tgz_1479823646119_0.5438775948714465"},"directories":{},"publish_time":1479823648282,"_hasShrinkwrap":false,"_cnpm_publish_time":1479823648282,"_cnpmcore_publish_time":"2021-12-16T22:42:56.051Z"},"1.0.1":{"name":"pullout","version":"1.0.1","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls","wisdom":"npm run build","6to5":"buble lib -o legacy","build":"redrun 6to5 legacy","legacy":"echo \"module.exports = require('./pullout');\" > legacy/index.js"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"buble":"^0.14.0","coveralls":"^2.11.6","eslint":"^3.8.1","nodemon":"^1.11.0","nyc":"^8.3.2","redrun":"^5.9.2","tape":"^4.2.0"},"gitHead":"522dddd19588adaadbb38dccf5c342d24c55cd9d","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@1.0.1","_shasum":"d8e7e0c84c6e128d811d8fe1f4547f5c9084f467","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"d8e7e0c84c6e128d811d8fe1f4547f5c9084f467","size":2546,"noattachment":false,"key":"/pullout/-/pullout-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-1.0.1.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pullout-1.0.1.tgz_1477574232653_0.7029048008844256"},"directories":{},"publish_time":1477574235061,"_hasShrinkwrap":false,"_cnpm_publish_time":1477574235061,"_cnpmcore_publish_time":"2021-12-16T22:42:56.268Z"},"1.0.0":{"name":"pullout","version":"1.0.0","author":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com","url":"https://github.com/coderaiser"},"description":"pull out data from stream","homepage":"http://github.com/coderaiser/pullout","keywords":["get","pull","body","data","stream"],"repository":{"type":"git","url":"git://github.com/coderaiser/pullout.git"},"scripts":{"test":"tape test/*.js","lint":"eslint lib test","watch:test":"npm run watcher -- \"npm test\"","watcher":"nodemon -w lib -w test -x","coverage":"nyc npm test","report":"nyc report --reporter=text-lcov | coveralls","wisdom":"npm run build","6to5":"buble lib -o legacy","build":"redrun 6to5 legacy","legacy":"echo \"module.exports = require('./pullout');\" > legacy/index.js"},"dependencies":{},"license":"MIT","main":"lib/pullout.js","devDependencies":{"buble":"^0.14.0","coveralls":"^2.11.6","eslint":"^3.8.1","nodemon":"^1.11.0","nyc":"^5.0.1","redrun":"^5.9.2","tape":"^4.2.0"},"gitHead":"3208870eef788a926f463d583927cfa2799614dc","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"_id":"pullout@1.0.0","_shasum":"a79e02f237d6f303fd84fc21dde3a606ccc76725","_from":".","_npmVersion":"4.0.1","_nodeVersion":"7.0.0","_npmUser":{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"},"dist":{"shasum":"a79e02f237d6f303fd84fc21dde3a606ccc76725","size":2437,"noattachment":false,"key":"/pullout/-/pullout-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/pullout/download/pullout-1.0.0.tgz"},"maintainers":[{"name":"coderaiser","email":"mnemonic.enemy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/pullout-1.0.0.tgz_1477564588939_0.9590647870209068"},"directories":{},"publish_time":1477564591560,"_hasShrinkwrap":false,"_cnpm_publish_time":1477564591560,"_cnpmcore_publish_time":"2021-12-16T22:42:56.488Z"}},"readme":"# Pullout [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Coverage Status][CoverageIMGURL]][CoverageURL]\n\n[NPMIMGURL]: https://img.shields.io/npm/v/pullout.svg?style=flat\n[LicenseIMGURL]: https://img.shields.io/badge/license-MIT-317BF9.svg?style=flat\n[CoverageIMGURL]: https://coveralls.io/repos/coderaiser/pullout/badge.svg?branch=master&service=github\n[NPMURL]: https://npmjs.org/package/pullout \"npm\"\n[BuildStatusURL]: https://github.com/coderaiser/pullout/actions?query=workflow%3A%22Node+CI%22 \"Build Status\"\n[BuildStatusIMGURL]: https://github.com/coderaiser/pullout/workflows/Node%20CI/badge.svg\n[LicenseURL]: https://tldrlegal.com/license/mit-license \"MIT License\"\n[CoverageURL]: https://coveralls.io/github/coderaiser/pullout?branch=master\n\nPull out data from stream.\n\n## Install\n\n```\nnpm i pullout\n```\n\n## pullout(stream[, type = 'string'])\n\nType could be `string` or `buffer`.\n\n```js\nconst pullout = require('pullout');\nconst fs = require('fs');\n\nconst readStream = fs.createReadStream(__filename);\n\nconst data = await pullout(readStream);\nconsole.log(data);\n```\n\n## Related\n\n- [pipe-io](https://github.com/coderaiser/pipe-io \"pipe-io\") - pipe streams and handle events\n\n## License\n\nMIT\n","_attachments":{},"homepage":"http://github.com/coderaiser/pullout","bugs":{"url":"https://github.com/coderaiser/pullout/issues"},"license":"MIT"}