{"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,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-3.0.0.tgz"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"_npmUser":{"name":"anonymous","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":"anonymous","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"441b267c2fc3fee02bb1d929289da113903bd5ef","size":6163,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-2.0.1.tgz"},"maintainers":[{"name":"anonymous","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,"contributors":[]},"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":"anonymous","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"a8515ac024fa90e8fa7d58c11b13dea1f28abe72","size":3354,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.1.3.tgz"},"maintainers":[{"name":"anonymous","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,"contributors":[]},"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":"anonymous","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"f555027ee046d8d4de630a5515bf183b29517cc2","size":6078,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-2.0.0.tgz"},"maintainers":[{"name":"anonymous","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,"contributors":[]},"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":"anonymous","email":"nicolas.froidure@insertafter.com"},"dist":{"shasum":"b5310e0b35509033a4c643fe88b6da9bc5ff12f8","size":6080,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.1.2.tgz"},"maintainers":[{"name":"anonymous","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,"contributors":[]},"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":"anonymous","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"0161373060ac5988eff99058731114f6e195d51e","size":3354,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.1.1.tgz"},"maintainers":[{"name":"anonymous","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,"contributors":[]},"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":"anonymous","email":"nfroidure@elitwork.com"},"dist":{"shasum":"073cd120308c0678ee7d7c48b69e06eb4538ade0","size":6112,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.1.0.tgz"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1438681792922,"_cnpm_publish_time":1438681792922,"_hasShrinkwrap":false,"contributors":[]},"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":"anonymous","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"dist":{"shasum":"37643de45f8f84875503111284e7c38b56b8d54f","size":3840,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.0.2.tgz"},"directories":{},"publish_time":1434870763424,"_cnpm_publish_time":1434870763424,"_hasShrinkwrap":false,"contributors":[]},"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":"anonymous","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"dist":{"shasum":"cfb1ad9568d3ba3cfe935ba9abdd952de88aab2a","size":3885,"noattachment":false,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-1.0.1.tgz"},"directories":{},"publish_time":1423504895797,"_cnpm_publish_time":1423504895797,"_hasShrinkwrap":false,"contributors":[]},"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,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-0.0.2.tgz"},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1396075967160,"_cnpm_publish_time":1396075967160,"_hasShrinkwrap":false,"contributors":[]},"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,"tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-0.0.1.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"directories":{},"publish_time":1388921940914,"_cnpm_publish_time":1388921940914,"_hasShrinkwrap":false,"contributors":[]},"4.0.0":{"metapak":{"configs":["main","readme","eslint","tsesm","jest","jsdocs","codeclimate","coveralls","ghactions"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"bufferstreams","version":"4.0.0","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"dist/index.js","scripts":{"build":"rimraf 'dist' && tsc --outDir dist","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"npm run jest -- --coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","doc":"echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md","format":"npm run prettier","jest":"NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest","lint":"eslint 'src/**/*.ts'","metapak":"metapak","precz":"npm t && npm run lint && npm run build && npm run doc && npm run metapak -- -s","prettier":"prettier --write 'src/**/*.ts'","preversion":"npm t && npm run lint && npm run build && npm run doc && npm run metapak -- -s","rebuild":"swc ./src -s -d dist -C jsc.target=es2022","test":"npm run jest","type-check":"tsc --pretty --noEmit","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","yerror":"^8.0.0"},"devDependencies":{"@eslint/js":"^9.7.0","@swc/cli":"^0.4.0","@swc/core":"^1.6.13","@swc/helpers":"^0.5.12","@swc/jest":"^0.2.36","commitizen":"^4.3.0","conventional-changelog-cli":"^5.0.0","cz-conventional-changelog":"^3.3.0","eslint":"^9.7.0","eslint-config-prettier":"^9.1.0","eslint-plugin-jest":"^28.6.0","eslint-plugin-prettier":"^5.1.3","jest":"^29.7.0","jsdoc-to-markdown":"^8.0.0","metapak":"^6.0.1","metapak-nfroidure":"^18.2.0","prettier":"^3.3.3","rimraf":"^6.0.1","streamtest":"^3.0.0","typescript":"^5.5.3","typescript-eslint":"^7.16.0"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"engines":{"node":">=20.11.1"},"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","prettier","eslint-config-prettier","eslint-plugin-prettier","typescript-eslint","typescript","rimraf","@swc/cli","@swc/core","@swc/helpers","jest","@swc/jest","jsdoc-to-markdown"]},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".ts"],"prettierPath":null},"overrides":{"eslint":"^9.7.0"},"type":"module","types":"dist/index.d.ts","_id":"bufferstreams@4.0.0","gitHead":"ab583149374010ce1fbc6dd37d139167f1b869af","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-azX778/2VQ9K2uiYprSUKLgK2K6lR1KtJycJDsMg7u0+Cc994A9HyGaUKb01e/T+M8jse057429iKXurCaT35g==","shasum":"de0f0659a9ae1d34cce5080381384c74558f8b9f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-4.0.0.tgz","fileCount":12,"unpackedSize":67363,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFw+lwYoMtON91eh8F8l0v0jNA0PDpU2TkLqbXtlPENkAiAe3zSjysOxghD1RK9rpuvFI1/et3v5eKJyz5pZR3sLew=="}]},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},{"name":"anonymous","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/bufferstreams_4.0.0_1721235549720_0.5452592123707269"},"_hasShrinkwrap":false},"5.0.0":{"metapak":{"configs":["main","readme","eslint","tsesm","jest","jsdocs","codeclimate","coveralls","ghactions"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"bufferstreams","version":"5.0.0","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"dist/index.js","scripts":{"build":"rimraf 'dist' && tsc --outDir dist","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","cli":"env NODE_ENV=${NODE_ENV:-cli}","cover":"node --run jest -- --coverage","cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","doc":"echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md","format":"npm run prettier","jest":"NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest","lint":"eslint 'src/**/*.ts'","metapak":"metapak","precz":"node --run test && node --run lint && node --run build && node --run doc && node --run metapak -- -s","prettier":"prettier --write 'src/**/*.ts'","preversion":"node --run test && node --run lint && node --run build && node --run doc && node --run metapak -- -s","rebuild":"swc ./src -s -d dist -C jsc.target=es2022","test":"node --run jest","version":"node --run changelog"},"repository":{"type":"git","url":"git+https://github.com/nfroidure/bufferstreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"yerror":"^8.0.0"},"devDependencies":{"@eslint/js":"^9.29.0","@swc/cli":"^0.7.7","@swc/core":"^1.12.1","@swc/helpers":"^0.5.17","@swc/jest":"^0.2.38","commitizen":"^4.3.1","conventional-changelog-cli":"^5.0.0","cz-conventional-changelog":"^3.3.0","eslint":"^9.29.0","eslint-config-prettier":"^10.1.5","eslint-plugin-jest":"^28.14.0","eslint-plugin-prettier":"^5.4.1","jest":"^30.0.0","jsdoc-to-markdown":"^9.1.1","metapak":"^6.0.3","metapak-nfroidure":"20.0.4","prettier":"^3.5.3","rimraf":"^6.0.1","streamtest":"^3.0.1","typescript":"^5.8.3","typescript-eslint":"^8.34.0"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"engines":{"node":">=22.16.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","prettier","eslint-config-prettier","eslint-plugin-prettier","typescript-eslint","typescript","rimraf","@swc/cli","@swc/core","@swc/helpers","jest","@swc/jest","jsdoc-to-markdown"]},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".ts"],"prettierPath":null},"type":"module","types":"dist/index.d.ts","funding":{"type":"individual","url":"https://github.com/sponsors/nfroidure"},"_id":"bufferstreams@5.0.0","gitHead":"fd774b616de1171c86df137b1673f3bdcf4b5bf3","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-wXeD2OUyCb6K8akKT1+A7y/daw7Cii7v8idSK7/pV18VwKZW65uczCoCjM0buyQPilUPV7S6PrKqLipQ4HXcXQ==","shasum":"0fbc028798e0bd2706601c49a47ebdd6bf165a43","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-5.0.0.tgz","fileCount":12,"unpackedSize":67868,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICCnVPfdneHrfyorDf7GGPLSdACgRMPqkHqGa87k5dXEAiAR1vmllRyhge1x7mYQu8r8Wq6bwzjGnB0BtQ8Df1E6Kw=="}],"size":13486},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},{"name":"anonymous","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bufferstreams_5.0.0_1750086105078_0.38136279589509536"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-06-16T15:01:45.307Z","publish_time":1750086105307,"_source_registry_name":"default"},"6.0.1":{"metapak":{"configs":["main","readme","eslint","tsesm","jest","jsdocs","codeclimate","coveralls","ghactions"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"bufferstreams","version":"6.0.1","description":"Abstract streams to deal with the whole buffered contents.","homepage":"https://github.com/nfroidure/BufferStreams","main":"dist/index.js","scripts":{"build":"rimraf 'dist' && tsc --outDir dist","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","cli":"env NODE_ENV=${NODE_ENV:-cli}","commitlint":"commitlint","cover":"node --run jest -- --coverage","doc":"echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md","format":"node --run prettier","jest":"NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest","lint":"eslint 'src/**/*.ts'","metapak":"metapak","precommit":"node --run test && node --run lint && node --run metapak -- -s && node --run build && node --run doc","prettier":"prettier --write 'src/**/*.ts'","preversion":"node --run test && node --run lint && node --run build && node --run doc && node --run metapak -- -s","rebuild":"swc ./src -s -d dist -C jsc.target=es2022","test":"node --run jest","version":"node --run changelog"},"repository":{"type":"git","url":"git+https://github.com/nfroidure/bufferstreams.git"},"keywords":["buffer","streaming","stream","async","abstract"],"dependencies":{"yerror":"^11.0.0"},"devDependencies":{"@commitlint/cli":"^20.5.0","@commitlint/config-conventional":"^20.5.0","@eslint/js":"^10.0.1","@swc/cli":"^0.8.1","@swc/core":"^1.15.24","@swc/jest":"^0.2.39","conventional-changelog":"^7.2.0","eslint":"^10.2.0","eslint-config-prettier":"^10.1.8","eslint-plugin-jest":"^29.15.1","eslint-plugin-prettier":"^5.5.5","jest":"^30.3.0","jsdoc-to-markdown":"^9.1.3","metapak":"^7.1.0","metapak-nfroidure":"22.1.1","prettier":"^3.8.1","rimraf":"^6.1.3","streamtest":"^4.0.0","typescript":"^6.0.2","typescript-eslint":"^8.58.0"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"engines":{"node":">=24.14.0"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/BufferStreams/issues"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".ts"]},"type":"module","types":"dist/index.d.ts","funding":{"type":"individual","url":"https://github.com/sponsors/nfroidure"},"overrides":{"typescript-eslint":{"typescript":"^6"},"@typescript-eslint/eslint-plugin":{"typescript":"^6"},"@typescript-eslint/parser":{"typescript":"^6"}},"gitHead":"ecc4c0f5721e695bd45c0a9214a430052956cec1","_id":"bufferstreams@6.0.1","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-6A5J+YIXLxMl3P23lpsE4BWp4aaXusDkYR63i70CuLwgZc4F64THO2XE8dKfaxjGAcPlmuF7mWg/aMtqwI6hrg==","shasum":"d418acade4ed2a65f340df042caccb24f22642e8","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/bufferstreams/-/bufferstreams-6.0.1.tgz","fileCount":12,"unpackedSize":67715,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDyPDtjPS8QmLWI0Dve3kpuwpLfCxzT8SFd2GbhLFS11AIgWqkNGrYrOatCqRM2j7KQSmCD1NAIIj7KJgTSfOC7dro="}],"size":13419},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},{"name":"anonymous","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bufferstreams_6.0.1_1775555841835_0.38400618195110137"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-04-07T09:57:21.983Z","publish_time":1775555841983,"_source_registry_name":"default"}},"dist-tags":{"latest":"6.0.1"},"name":"bufferstreams","time":{"modified":"2026-04-07T09:57:42.081Z","created":"2022-01-26T14:56:00.553Z","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","4.0.0":"2024-07-17T16:59:09.978Z","5.0.0":"2025-06-16T15:01:45.307Z","6.0.1":"2026-04-07T09:57:21.983Z"},"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/main/LICENSE)\n[![Coverage Status](https://coveralls.io/repos/github/nfroidure/bufferstreams/badge.svg?branch=main)](https://coveralls.io/github/nfroidure/bufferstreams?branch=main)\n\n\n[//]: # (::contents:start)\n\n`bufferstreams` abstracts streams to allow you to deal with their whole content\nin a single buffer when it becomes necessary (by example: a legacy library that\ndo not support streams).\n\nIt is not a good practice (dealing with the whole stream content means you need\nto keep the whole stream content in memory which is probably not what you intent\nby using streams), just some glue. Using `bufferstreams` means:\n\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\npoint of a streaming pipeline for testing purposes.\n\n## Usage\n\nInstall the [npm module](https://npmjs.org/package/bufferstreams):\n\n```sh\nnpm install bufferstreams --save\n```\n\nThen, in your scripts:\n\n```js\nimport fs from 'fs';\nimport { BufferStream } from 'bufferstreams';\n\nfs.createReadStream('input.txt')\n  .pipe(\n    new BufferStream((err, buf, cb) => {\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.from(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,\nthe given buffer will be an array containing the streamed objects:\n\n```js\nnew BufferStreams(myCallback, { objectMode: true });\n```\n\n`bufferstreams` exposes a utility function for functional programming:\n\n```js\nimport { streamBuffer } from 'bufferstreams';\n\nprocess.stdin.pipe(streamBuffer(myCallback)).pipe(process.stdout);\n```\n\nFinally `bufferstreams` exposes another function for objects mode buffering:\n\n```js\nimport { bufferObjects } from 'bufferstreams';\n\nprocess.stdin.pipe(bufferObjects(myCallback)).pipe(process.stdout);\n```\n\n## Contributing\n\nFeel free to contribute with your code if you agree with publishing it under the\nMIT license.\n\n[//]: # (::contents:end)\n\n# API\n## Classes\n\n<dl>\n<dt><a href=\"#BufferStream\">BufferStream</a></dt>\n<dd><p>Buffer the stream content and bring it into the provided callback</p>\n</dd>\n</dl>\n\n## Functions\n\n<dl>\n<dt><a href=\"#bufferStream\">bufferStream(bufferCallback, options)</a> ⇒</dt>\n<dd><p>Utility function if you prefer a functional way of using this lib</p>\n</dd>\n<dt><a href=\"#bufferObjects\">bufferObjects(bufferCallback, options)</a> ⇒</dt>\n<dd><p>Utility function to buffer objet mode streams</p>\n</dd>\n</dl>\n\n<a name=\"BufferStream\"></a>\n\n## BufferStream\nBuffer the stream content and bring it into the provided callback\n\n**Kind**: global class  \n<a name=\"new_BufferStream_new\"></a>\n\n### new BufferStream(bufferCallback, options)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| bufferCallback | <code>function</code> | A function to handle the buffered content. |\n| options | <code>Object</code> | inherits of Stream.Duplex, the options are passed to the parent constructor so you can use it's options too. |\n| options.objectMode | <code>boolean</code> | Use if piped in streams are in object mode. In this case, an array of the buffered will be transmitted to the callback function. |\n\n<a name=\"bufferStream\"></a>\n\n## bufferStream(bufferCallback, options) ⇒\nUtility function if you prefer a functional way of using this lib\n\n**Kind**: global function  \n**Returns**: Stream  \n\n| Param |\n| --- |\n| bufferCallback | \n| options | \n\n<a name=\"bufferObjects\"></a>\n\n## bufferObjects(bufferCallback, options) ⇒\nUtility function to buffer objet mode streams\n\n**Kind**: global function  \n**Returns**: Stream  \n\n| Param |\n| --- |\n| bufferCallback | \n| options | \n\n\n# Authors\n- [Nicolas Froidure](http://insertafter.com/en/index.html)\n\n# License\n[MIT](https://github.com/nfroidure/bufferstreams/blob/main/LICENSE)","users":{}}