{"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","tarball":"http://registry-npm.ywwl.com/pullout/download/pullout-1.0.0.tgz","integrity":"sha512-R4d8rIyL3jyj3duHPFHC+RQP8acIs5ZhaI5Sp8gH2D4WGtont/fz9s+IXtAYFrgoogk8sbT82hDmZC3ZEIV7Kw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKaWCzh3F4DxKmfmdqwNahMRGOgtBmu0tID6yjraN7qAIgLnXkMJFpc/L3GxoqU+SQmg+evGa923codpaWKa8HGzM="}],"size":2437,"noattachment":false,"key":"/pullout/-/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":{},"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","publish_time":1477564591560,"_cnpm_publish_time":1477564591560,"dist-tags":{"latest":"5.0.1"}}