{"_id":"bufferstreams","_rev":"373855","name":"bufferstreams","description":"Abstract streams to deal with the whole buffered contents.","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"time":{"modified":"2021-07-29T06:07:08.000Z","created":"2014-01-05T11:39:00.914Z","3.0.0":"2019-11-15T10:04:29.764Z","2.0.1":"2018-04-23T07:02:11.366Z","1.1.3":"2017-12-06T09:03:26.328Z","2.0.0":"2017-12-06T07:34:04.042Z","1.1.2":"2017-12-03T12:05:24.932Z","1.1.1":"2016-06-28T11:20:27.340Z","1.1.0":"2015-08-04T09:49:52.922Z","1.0.2":"2015-06-21T07:12:43.424Z","1.0.1":"2015-02-09T18:01:35.797Z","0.0.2":"2014-03-29T06:52:47.160Z","0.0.1":"2014-01-05T11:39:00.914Z"},"users":{"t1st3":true},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"versions":{"3.0.0":{"name":"bufferstreams","version":"3.0.0","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","metapak":{"configs":["main","readme","eslint","mocha","codeclimate","travis"],"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"}},"scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"nyc npm test && nyc report --reporter=html --reporter=text","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls && rm -rf ./coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","lint":"eslint src/*.js tests/*.mocha.js","metapak":"metapak","mocha":"mocha tests/*.mocha.js","precz":"npm t && npm run lint && npm run metapak -- -s","prettier":"prettier --write src/*.js tests/*.mocha.js","preversion":"npm t && npm run lint && npm run metapak -s && npm run metapak -- -s","test":"npm run mocha","version":"npm run changelog"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^3.4.0"},"devDependencies":{"commitizen":"^3.1.1","conventional-changelog-cli":"^2.0.23","coveralls":"^3.0.5","cz-conventional-changelog":"^3.0.2","eslint":"^6.1.0","eslint-plugin-prettier":"^3.1.0","metapak":"^3.1.6","metapak-nfroidure":"^9.6.4","mocha":"^6.2.0","nyc":"^14.1.1","prettier":"^1.18.2","streamtest":"^1.2.4"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"engines":{"node":">=8.12.0"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","eslint","eslint-config-prettier","prettier","mocha","coveralls","nyc"]},"eslintConfig":{"extends":["eslint:recommended"],"parserOptions":{"ecmaVersion":2018,"sourceType":"script","modules":true},"env":{"es6":true,"node":true,"jest":true,"mocha":true},"plugins":["prettier"],"rules":{"prettier/prettier":"error"}},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5","proseWrap":"always"},"nyc":{"exclude":["tests/*.mocha.js"]},"contributors":[],"gitHead":"e7140694a1a34e428c8111c9abb1ed5cdf2e9417","_id":"bufferstreams@3.0.0","_nodeVersion":"10.0.0","_npmVersion":"6.9.0","dist":{"shasum":"d2cb186cffeb527668341891e523c19539bc4a14","size":6476,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-3.0.0.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams_3.0.0_1573812269623_0.0541069675402035"},"_hasShrinkwrap":false,"publish_time":1573812269764,"_cnpm_publish_time":1573812269764},"2.0.1":{"name":"bufferstreams","version":"2.0.1","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","files":["src"],"metapak":{"configs":["readme","eslint","mocha","codeclimate","travis"],"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"}},"scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","lint":"eslint src/*.js tests/*.mocha.js","metapak":"metapak","mocha":"mocha tests/*.mocha.js","prettier":"prettier --write src/*.js tests/*.mocha.js","preversion":"npm t && npm run lint && npm run metapak -s","test":"npm run mocha","version":"npm run changelog && git add CHANGELOG.md"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^2.3.6"},"devDependencies":{"commitizen":"^2.9.6","conventional-changelog-cli":"^1.3.8","coveralls":"^3.0.0","cz-conventional-changelog":"^2.1.0","eslint":"^4.19.0","eslint-plugin-prettier":"^2.6.0","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","metapak":"^1.0.3","metapak-nfroidure":"^6.0.0","mocha":"^5.0.0","mocha-lcov-reporter":"^1.3.0","prettier":"^1.11.1","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure"},"engines":{"node":">=6.9.5"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","eslint","eslint-config-prettier","prettier","mocha","mocha-lcov-reporter","coveralls","istanbul"]},"gitHead":"25590b5459b813cdfbec091332ba00d8f416b6a5","_id":"bufferstreams@2.0.1","_npmVersion":"5.8.0","_nodeVersion":"8.10.0","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"441b267c2fc3fee02bb1d929289da113903bd5ef","size":6163,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-2.0.1.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams_2.0.1_1524466931214_0.14139948775219469"},"_hasShrinkwrap":false,"publish_time":1524466931366,"_cnpm_publish_time":1524466931366},"1.1.3":{"name":"bufferstreams","version":"1.1.3","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","files":["src"],"scripts":{"test":"mocha tests/*.mocha.js","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -t 5000 && istanbul-coveralls","cover":"istanbul cover --report html _mocha -- tests/*.mocha.js -t 5000","trinity":"npm-check-updates -u && npm install && npm test && git commit package.json -m \"Dependencies update\" && git push","lint":"eslint **/*.s","cli":"env NPM_RUN_CLI=1"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"eslint":"^1.0.0","istanbul":"^0.3.17","istanbul-coveralls":"^1.0.3","mocha":"^2.2.5","mocha-lcov-reporter":"^0.0.2","sf-lint":"^1.0.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"gitHead":"a8eace6b1874ad8c986b773c8bb5edb4a33c5af0","_id":"bufferstreams@1.1.3","_npmVersion":"5.5.1","_nodeVersion":"6.10.3","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"a8515ac024fa90e8fa7d58c11b13dea1f28abe72","size":3354,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.1.3.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams-1.1.3.tgz_1512551005447_0.6185638038441539"},"directories":{},"publish_time":1512551006328,"_hasShrinkwrap":false,"_cnpm_publish_time":1512551006328},"2.0.0":{"name":"bufferstreams","version":"2.0.0","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","files":["src"],"metapak":{"configs":["readme","eslint","mocha","codeclimate","travis"],"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"}},"scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","lint":"eslint src/*.js tests/*.mocha.js","metapak":"metapak","mocha":"mocha tests/*.mocha.js","prettier":"prettier --write src/*.js tests/*.mocha.js","preversion":"npm t && npm run lint && npm run metapak -s","test":"npm run mocha","version":"npm run changelog && git add CHANGELOG.md"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"debug":"2.6.1","readable-stream":"^2.0.2"},"devDependencies":{"commitizen":"^2.9.6","conventional-changelog-cli":"^1.3.5","coveralls":"^2.13.3","cz-conventional-changelog":"^2.0.0","eslint":"^4.12.1","eslint-plugin-prettier":"^2.3.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","metapak":"^1.0.2","metapak-nfroidure":"^2.0.2","mocha":"^3.5.3","mocha-lcov-reporter":"^1.3.0","prettier":"^1.8.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure"},"engines":{"node":">=6.9.5"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","eslint","eslint-config-prettier","prettier","mocha","mocha-lcov-reporter","coveralls","istanbul"]},"gitHead":"0557479650d575e7a5867043954e9c45c2ff8dc4","_id":"bufferstreams@2.0.0","_npmVersion":"5.5.1","_nodeVersion":"6.10.3","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"f555027ee046d8d4de630a5515bf183b29517cc2","size":6078,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-2.0.0.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams-2.0.0.tgz_1512545643158_0.41981295053847134"},"directories":{},"publish_time":1512545644042,"_hasShrinkwrap":false,"_cnpm_publish_time":1512545644042},"1.1.2":{"name":"bufferstreams","version":"1.1.2","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","files":["src"],"metapak":{"configs":["readme","eslint","mocha","codeclimate","travis"],"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"}},"scripts":{"changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","lint":"eslint src/*.js tests/*.mocha.js","metapak":"metapak","mocha":"mocha tests/*.mocha.js","prettier":"prettier --write src/*.js tests/*.mocha.js","preversion":"npm t && npm run lint && npm run metapak -s","test":"npm run mocha","version":"npm run changelog && git add CHANGELOG.md"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"debug":"2.6.1","readable-stream":"^2.0.2"},"devDependencies":{"commitizen":"^2.9.6","conventional-changelog-cli":"^1.3.5","coveralls":"^2.13.3","cz-conventional-changelog":"^2.0.0","eslint":"^4.12.1","eslint-plugin-prettier":"^2.3.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","metapak":"^1.0.2","metapak-nfroidure":"^2.0.2","mocha":"^3.5.3","mocha-lcov-reporter":"^1.3.0","prettier":"^1.8.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure"},"engines":{"node":">=6.9.5"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","eslint","eslint-config-prettier","prettier","mocha","mocha-lcov-reporter","coveralls","istanbul"]},"gitHead":"66884707133d77f4e903a0a306448c999143c8cc","_id":"bufferstreams@1.1.2","_npmVersion":"5.5.1","_nodeVersion":"6.10.3","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"b5310e0b35509033a4c643fe88b6da9bc5ff12f8","size":6080,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.1.2.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams-1.1.2.tgz_1512302724028_0.759969615843147"},"directories":{},"publish_time":1512302724932,"_hasShrinkwrap":false,"_cnpm_publish_time":1512302724932},"1.1.1":{"name":"bufferstreams","version":"1.1.1","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","files":["src"],"scripts":{"test":"mocha tests/*.mocha.js","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -t 5000 && istanbul-coveralls","cover":"istanbul cover --report html _mocha -- tests/*.mocha.js -t 5000","trinity":"npm-check-updates -u && npm install && npm test && git commit package.json -m \"Dependencies update\" && git push","lint":"eslint **/*.s","cli":"env NPM_RUN_CLI=1"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"eslint":"^1.0.0","istanbul":"^0.3.17","istanbul-coveralls":"^1.0.3","mocha":"^2.2.5","mocha-lcov-reporter":"^0.0.2","sf-lint":"^1.0.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"gitHead":"acd18756a3066c72b4cff8aa79aa44a3dcb4f85f","_id":"bufferstreams@1.1.1","_shasum":"0161373060ac5988eff99058731114f6e195d51e","_from":".","_npmVersion":"3.10.2","_nodeVersion":"4.4.5","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"0161373060ac5988eff99058731114f6e195d51e","size":3354,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.1.1.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/bufferstreams-1.1.1.tgz_1467112826909_0.5332817453891039"},"directories":{},"publish_time":1467112827340,"_cnpm_publish_time":1467112827340,"_hasShrinkwrap":false},"1.1.0":{"name":"bufferstreams","version":"1.1.0","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","scripts":{"test":"mocha tests/*.mocha.js","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -t 5000 && istanbul-coveralls","cover":"istanbul cover --report html _mocha -- tests/*.mocha.js -t 5000","trinity":"npm-check-updates -u && npm install && npm test && git commit package.json -m \"Dependencies update\" && git push","lint":"eslint **/*.s","cli":"env NPM_RUN_CLI=1"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"eslint":"^1.0.0","istanbul":"^0.3.17","istanbul-coveralls":"^1.0.3","mocha":"^2.2.5","mocha-lcov-reporter":"^0.0.2","sf-lint":"^1.0.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/BufferStreams/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"gitHead":"8b3f9058764b4ff8095df90eea55ea7683d3ee33","_id":"bufferstreams@1.1.0","_shasum":"073cd120308c0678ee7d7c48b69e06eb4538ade0","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"dist":{"shasum":"073cd120308c0678ee7d7c48b69e06eb4538ade0","size":6112,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.1.0.tgz"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1438681792922,"_cnpm_publish_time":1438681792922,"_hasShrinkwrap":false},"1.0.2":{"name":"bufferstreams","version":"1.0.2","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","scripts":{"test":"mocha tests/*.mocha.js","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -t 5000 && istanbul-coveralls","cover":"istanbul cover --report html _mocha -- tests/*.mocha.js -t 5000","trinity":"npm-check-updates -u && npm install && npm test && git commit package.json -m \"Dependencies update\" && git push"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"readable-stream":"^2.0.0"},"devDependencies":{"istanbul":"^0.3.15","istanbul-coveralls":"^1.0.3","mocha":"^2.2.5","mocha-lcov-reporter":"^0.0.2","streamtest":"^1.2.1"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/BufferStreams/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"gitHead":"8aaf7a576177d3c2c1e626d8bfba091d47d7cea3","_id":"bufferstreams@1.0.2","_shasum":"37643de45f8f84875503111284e7c38b56b8d54f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"dist":{"shasum":"37643de45f8f84875503111284e7c38b56b8d54f","size":3840,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.0.2.tgz"},"directories":{},"publish_time":1434870763424,"_cnpm_publish_time":1434870763424,"_hasShrinkwrap":false},"1.0.1":{"name":"bufferstreams","version":"1.0.1","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha tests/*.mocha.js","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover --report html ./node_modules/mocha/bin/_mocha -- tests/*.mocha.js -R spec -t 5000","trinity":"npm-check-updates -u && npm test && git commit package.json -m \"Dependencies update\" && git push"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams"},"keywords":["buffer","streaming","stream","async","abstract"],"devDependencies":{"coveralls":"~2.11.2","istanbul":"~0.3.5","mocha":"2.x.x","mocha-lcov-reporter":"0.0.1","streamtest":"^1.1.0"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/BufferStreams/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"7d4c975accd17ea382845d93e11761ad8c364534","_id":"bufferstreams@1.0.1","_shasum":"cfb1ad9568d3ba3cfe935ba9abdd952de88aab2a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"dist":{"shasum":"cfb1ad9568d3ba3cfe935ba9abdd952de88aab2a","size":3885,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-1.0.1.tgz"},"directories":{},"publish_time":1423504895797,"_cnpm_publish_time":1423504895797,"_hasShrinkwrap":false},"0.0.2":{"name":"bufferstreams","version":"0.0.2","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","scripts":{"test":"./node_modules/mocha/bin/mocha tests/*.mocha.js","coveralls":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover --report html ./node_modules/mocha/bin/_mocha -- tests/*.mocha.js -R spec -t 5000","trinity":"npm-check-updates -u && npm test && git commit package.json -m \"Dependencies update\" && git push"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams"},"keywords":["buffer","streaming","stream","async","abstract"],"devDependencies":{"mocha":"1.x.x","event-stream":"3.x.x","mocha-lcov-reporter":"0.0.1","coveralls":"~2.8.0","istanbul":"~0.2.6"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/BufferStreams/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"dependencies":{"readable-stream":"^1.0.26-2"},"_id":"bufferstreams@0.0.2","dist":{"shasum":"7ce8dff968bbac00b9e90158a2c41456f740abdd","size":3225,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1396075967160,"_cnpm_publish_time":1396075967160,"_hasShrinkwrap":false},"0.0.1":{"name":"bufferstreams","version":"0.0.1","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"src/index.js","scripts":{"test":"mocha tests/*.mocha.js"},"repository":{"type":"git","url":"git://github.com/nfroidure/BufferStreams"},"keywords":["buffer","streaming","stream","async","abstract"],"devDependencies":{"mocha":"1.x.x","event-stream":"1.x.x"},"author":{"name":"Nicolas Froidure","url":"http://www.insertafter.com/blog.html"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"https://github.com/nfroidure/BufferStreams/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"readmeFilename":"README.md","_id":"bufferstreams@0.0.1","dist":{"shasum":"6ba7773de6acb6eb85dbce710c321808c79be849","size":2939,"noattachment":false,"key":"/bufferstreams/-/bufferstreams-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/bufferstreams/download/bufferstreams-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"nfroidure","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1388921940914,"_cnpm_publish_time":1388921940914,"_hasShrinkwrap":false}},"readme":"[//]: # ( )\n[//]: # (This file is automatically generated by a `metapak`)\n[//]: # (module. Do not change it  except between the)\n[//]: # (`content:start/end` flags, your changes would)\n[//]: # (be overridden.)\n[//]: # ( )\n# bufferstreams\n> Abstract streams to deal with the whole buffered contents.\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/bufferstreams/blob/master/LICENSE)\n[![Build status](https://secure.travis-ci.org/nfroidure/bufferstreams.svg)](https://travis-ci.org/nfroidure/bufferstreams)\n[![Coverage Status](https://coveralls.io/repos/nfroidure/bufferstreams/badge.svg?branch=master)](https://coveralls.io/r/nfroidure/bufferstreams?branch=master)\n[![NPM version](https://badge.fury.io/js/bufferstreams.svg)](https://npmjs.org/package/bufferstreams)\n[![Dependency Status](https://david-dm.org/nfroidure/bufferstreams.svg)](https://david-dm.org/nfroidure/bufferstreams)\n[![devDependency Status](https://david-dm.org/nfroidure/bufferstreams/dev-status.svg)](https://david-dm.org/nfroidure/bufferstreams#info=devDependencies)\n[![Package Quality](http://npm.packagequality.com/shield/bufferstreams.svg)](http://packagequality.com/#?package=bufferstreams)\n[![Code Climate](https://codeclimate.com/github/nfroidure/bufferstreams.svg)](https://codeclimate.com/github/nfroidure/bufferstreams)\n\n\n[//]: # (::contents:start)\n\n`bufferstreams` abstracts streams to allow you to deal with their whole content\n in a single buffer when it becomes necessary (by example: a legacy library that\n do not support streams).\n\nIt is not a good practice, just some glue. Using `bufferstreams` means:\n* there is no library dealing with streams for your needs\n* you filled an issue to the wrapped library to support streams\n\n`bufferstreams` can also be used to control the whole stream content in a single\n point of a streaming pipeline for testing purposes.\n\n## Usage\nInstall the [npm module](https://npmjs.org/package/bufferstreams):\n```sh\nnpm install bufferstreams --save\n```\nThen, in your scripts:\n```js\nvar fs = require('fs');\nvar bufferstreams = require('bufferstreams');\n\nfs.createReadStream('input.txt')\n  .pipe(new bufferstreams(function(err, buf, cb) {\n\n    // err will be filled with an error if the piped in stream emits one.\n    if(err) {\n      throw err;\n    }\n\n    // buf will contain the whole piped in stream contents\n    buf = Buffer(buf.toString('utf-8').replace('foo', 'bar'));\n\n    // cb is a callback to pass the result back to the piped out stream\n    // first argument is an error that will be emitted if any\n    // the second argument is the modified buffer\n    cb(null, buf);\n\n  }))\n  .pipe(fs.createWriteStream('output.txt'));\n```\n\nNote that you can use `bufferstreams` with the objectMode option. In this case,\n the given buffer will be an array containing the streamed objects:\n```js\nnew BufferStreams({objectMode: true}, myCallback);\n```\n\n## API\n\n### Stream : BufferStreams([options], callback)\n\n#### options\n\n##### options.objectMode\nType: `Boolean`\nDefault value: `false`\n\nUse if piped in streams are in object mode. In this case, an array of the\n buffered will be transmitted to the `callback` function.\n\n##### options.*\n\n`bufferstreams` inherits of Stream.Duplex, the options are passed to the\n parent constructor so you can use it's options too.\n\n##### callback(err, buf, cb)\nType: `Function`, required.\n\nA function to handle the buffered content.\n\n## Stats\n\n[![NPM](https://nodei.co/npm/bufferstreams.png?downloads=true&stars=true)](https://nodei.co/npm/bufferstreams/)\n[![NPM](https://nodei.co/npm-dl/bufferstreams.png)](https://nodei.co/npm/bufferstreams/)\n\n## Contributing\nFeel free to pull your code if you agree with publishing it under the MIT license.\n\n[//]: # (::contents:end)\n\n# Authors\n- [Nicolas Froidure](http://insertafter.com/en/index.html)\n\n# License\n[MIT](https://github.com/nfroidure/bufferstreams/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/nfroidure/BufferStreams","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"license":"MIT"}