{"_id":"streamtest","_rev":"1573767","name":"streamtest","description":"Streams test library","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},{"name":"marcus.bitzl","email":"marcus@bitzl.com"}],"time":{"modified":"2026-10-16T07:35:52.000Z","created":"2015-02-08T19:24:17.135Z","4.0.0":"2026-03-27T09:23:54.302Z","3.0.1":"2024-07-17T20:33:49.557Z","3.0.0":"2024-07-16T15:32:54.886Z","2.0.0":"2020-07-27T09:54:05.926Z","1.2.4":"2018-06-09T05:53:24.185Z","1.2.3":"2017-12-03T11:18:26.364Z","1.2.2":"2016-03-19T16:04:59.497Z","1.2.1":"2015-06-20T08:26:01.640Z","1.2.0":"2015-02-14T14:41:04.224Z","1.1.1":"2015-02-10T20:33:31.199Z","1.1.0":"2015-02-08T21:13:34.889Z","1.0.0":"2015-02-08T19:24:17.135Z"},"users":{"chriszs":true,"mkrufky":true,"dev_i_aint":true},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"https://insertafter.com/en/index.html"},"repository":{"type":"git","url":"git+ssh://git@github.com/nfroidure/streamtest.git"},"versions":{"4.0.0":{"metapak":{"configs":["main","readme","tsesm","jest","jsdocs","eslint","ghactions","codeclimate"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"streamtest","version":"4.0.0","description":"Streams test library","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 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+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"https://insertafter.com/en/index.html"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"@commitlint/cli":"^20.5.0","@commitlint/config-conventional":"^20.5.0","@eslint/js":"^10.0.1","@swc/cli":"^0.8.0","@swc/core":"^1.15.21","@swc/jest":"^0.2.39","conventional-changelog":"^7.2.0","eslint":"^10.1.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.0.0","metapak-nfroidure":"22.0.0","prettier":"^3.8.1","rimraf":"^6.1.3","typescript":"^6.0.2","typescript-eslint":"^8.57.2"},"engines":{"node":">=24.14.0"},"config":{},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"type":"module","types":"dist/index.d.ts","jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".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":"bcaa5975ae7a68e577fab385368061811ef47378","_id":"streamtest@4.0.0","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-7XXmxBKzys5BiKvTH69h6DG7QzCXVaseL90KR02W19j6rjkIGyirkeT4oGGGC2cIeF6YKTLQnp7ep7071Z3cVQ==","shasum":"433583c635ebc0078df655c6597df87b65eef9be","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-4.0.0.tgz","fileCount":12,"unpackedSize":46205,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAINyYGUD+EndoYjncuVCdCy98McPyyCE8gLy0jbejmIAiEAjm7ir+14+fAveuzSKSmfFGsR5+q57SUlpxBEWSMIthY="}],"size":9273,"noattachment":false,"key":"/streamtest/-/streamtest-4.0.0.tgz"},"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},{"name":"marcus.bitzl","email":"marcus@bitzl.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/streamtest_4.0.0_1774603434131_0.6810013536503676"},"_hasShrinkwrap":false,"publish_time":1774603434302,"_cnpm_publish_time":1774603434302},"3.0.1":{"metapak":{"configs":["main","readme","tsesm","jest","jsdocs","eslint","ghactions","codeclimate"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"streamtest","version":"3.0.1","description":"Streams test library","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+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"https://insertafter.com/en/index.html"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","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","typescript":"^5.5.3","typescript-eslint":"^7.16.0"},"engines":{"node":">=20.11.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","typescript","rimraf","@swc/cli","@swc/core","@swc/helpers","jest","@swc/jest","jsdoc-to-markdown","eslint","prettier","eslint-config-prettier","eslint-plugin-prettier","typescript-eslint"]},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"contributors":[],"overrides":{"eslint":"^9.7.0"},"type":"module","types":"dist/index.d.ts","jest":{"coverageReporters":["lcov"],"testPathIgnorePatterns":["/node_modules/"],"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"extensionsToTreatAsEsm":[".ts"],"prettierPath":null},"_id":"streamtest@3.0.1","gitHead":"d30ec6081ee2562f77b9504bd3aad57722d46d52","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-LuZ5TnL3IX4pORrmfMVKtHXabqO+MYuxCcLXVJ3aPtTnobrixMBXyHpmtPmfNzKngEwwBfQXwWxWkvAZpI8fmw==","shasum":"5ed2a1217196deeb55d9a2fab028d0b9d4e0d320","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-3.0.1.tgz","fileCount":12,"unpackedSize":46216,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP9pWicVFyyD/w63Tz3OF6WFHXSQaIaRhmwrSDdcIhnAIhAP3Q5zPzD5r+FWihvlQhyZJdFyvKPLehfoCR8VGHHcrT"}],"size":9304,"noattachment":false,"key":"/streamtest/-/streamtest-3.0.1.tgz"},"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamtest_3.0.1_1721248429376_0.8731256877037399"},"_hasShrinkwrap":false,"publish_time":1721248429557,"maintainers":[{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},{"name":"marcus.bitzl","email":"marcus@bitzl.com"}],"_cnpm_publish_time":1721248429557},"3.0.0":{"name":"streamtest","version":"3.0.0","keywords":["test","streams","stream1","stream2"],"author":{"url":"https://insertafter.com/en/index.html","name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com"},"license":"MIT","_id":"streamtest@3.0.0","contributors":[],"homepage":"https://github.com/nfroidure/streamtest","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"dist":{"shasum":"b9d7fb7c2f7befcc2bb347018cd04ad6366ed0da","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-3.0.0.tgz","fileCount":12,"integrity":"sha512-9L31lkT5W8A3ScUfWabVHWU/lH63dKzZYFvRDuvmtUzU2Z+FP9fFKiY86vv5ecVa4dPGFl7Fmjd6AUIu6a8nEw==","signatures":[{"sig":"MEQCICMFK8xSzJ/vgZPSbINBekm7O4KpDqTvHSsv9wr0jBfOAiBW4LlfOKgya3746lMmA3hZA7MJfNK1OPztskjk5o2JnA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43712,"size":8791,"noattachment":false,"key":"/streamtest/-/streamtest-3.0.0.tgz"},"jest":{"roots":["<rootDir>/src"],"transform":{"^.+\\.tsx?$":["@swc/jest",{}]},"prettierPath":null,"testEnvironment":"node","moduleNameMapper":{"(.+)\\.js":"$1"},"coverageReporters":["lcov"],"extensionsToTreatAsEsm":[".ts"],"testPathIgnorePatterns":["/node_modules/"]},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=20.11.1"},"gitHead":"f71f0b2d084e2659338bb55b0ba0d0f559990aa4","metapak":{"data":{"files":"'src/**/*.ts'","ignore":["dist"],"distFiles":"'dist/**/*.js'","testsFiles":"'src/**/*.tests.ts'","bundleFiles":["dist","src"]},"configs":["main","readme","tsesm","jest","jsdocs","eslint","ghactions","codeclimate"]},"scripts":{"cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","cli":"env NODE_ENV=${NODE_ENV:-cli}","doc":"echo \"# API\" > API.md; jsdoc2md 'dist/**/*.js' >> API.md && git add API.md","jest":"NODE_OPTIONS=--experimental-vm-modules NODE_ENV=test jest","lint":"eslint 'src/**/*.ts'","test":"npm run jest","build":"rimraf 'dist' && tsc --outDir dist","cover":"npm run jest -- --coverage","precz":"npm t && npm run lint && npm run build && npm run doc && npm run metapak -- -s","format":"npm run prettier","metapak":"metapak","rebuild":"swc ./src -s -d dist -C jsc.target=es2022","version":"npm run changelog","prettier":"prettier --write 'src/**/*.ts'","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md","preversion":"npm t && npm run lint && npm run build && npm run doc && npm run metapak -- -s","type-check":"tsc --pretty --noEmit"},"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"prettier":{"semi":true,"proseWrap":"always","printWidth":80,"singleQuote":true,"trailingComma":"all"},"overrides":{"eslint":"^9.7.0"},"repository":{"url":"git+ssh://git@github.com/nfroidure/streamtest.git","type":"git"},"_npmVersion":"10.7.0","description":"Streams test library","directories":{},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","typescript","rimraf","@swc/cli","@swc/core","@swc/helpers","jest","@swc/jest","jsdoc-to-markdown","eslint","prettier","eslint-config-prettier","eslint-plugin-prettier","typescript-eslint"]},"_nodeVersion":"20.14.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^9.7.0","rimraf":"^6.0.1","metapak":"6.0.1","@swc/cli":"^0.4.0","prettier":"^3.3.3","@swc/core":"^1.6.13","@swc/jest":"^0.2.36","@eslint/js":"^9.7.0","commitizen":"^4.3.0","typescript":"^5.5.3","@swc/helpers":"^0.5.12","jsdoc-to-markdown":"^8.0.0","metapak-nfroidure":"18.2.0","typescript-eslint":"^7.16.0","eslint-plugin-jest":"^28.6.0","eslint-config-prettier":"^9.1.0","eslint-plugin-prettier":"^5.1.3","cz-conventional-changelog":"^3.3.0","conventional-changelog-cli":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/streamtest_3.0.0_1721143974726_0.11103176451844443","host":"s3://npm-registry-packages"},"publish_time":1721143974886,"maintainers":[{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},{"name":"marcus.bitzl","email":"marcus@bitzl.com"}],"_cnpm_publish_time":1721143974886},"2.0.0":{"name":"streamtest","version":"2.0.0","description":"Streams test library","main":"src/index.js","metapak":{"configs":["main","readme","mocha","eslint","travis","codeclimate"],"data":{"testsFiles":"tests/*.mocha.js","files":"src/*.js 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","test":"npm run mocha","version":"npm run changelog"},"repository":{"type":"git","url":"git+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"https://insertafter.com/en/index.html"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"commitizen":"^4.1.2","conventional-changelog-cli":"^2.0.34","coveralls":"^3.1.0","cz-conventional-changelog":"^3.2.0","eslint":"^7.0.0","eslint-plugin-prettier":"^3.1.3","metapak":"3.1.10","metapak-nfroidure":"10.2.1","mocha":"^7.1.2","nyc":"^15.0.1","prettier":"^2.0.5"},"dependencies":{"readable-stream":"^3.6.0"},"engines":{"node":">=10.19.0"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","mocha","coveralls","nyc","eslint","eslint-config-prettier","prettier"]},"nyc":{"exclude":["tests/*.mocha.js"]},"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"},"contributors":[],"gitHead":"c7b511706b495c168056e5082360a9d4e29a7478","_id":"streamtest@2.0.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-abQjJiz00Ol897MPxzGNLBkjnJ4WG4oH0xDVle69+2YBraZyPewa/onn0meSP/b4qoxak2iQ0TeTEtVD9v4TPw==","shasum":"aa6c9fc423f3b11b1836f4ffdfec719af577c24e","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-2.0.0.tgz","fileCount":5,"unpackedSize":20133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfHqQ+CRA9TVsSAnZWagAAdaAP/1zBSpP78LcSRx7pb19M\n4sy8IAa0Xdjm5f5EvVa1DXtxZFjFnNKQYQUMZlq2001kGJuxuEdXTKmPsHef\nxo4/hUoW7Kh5UEtIjb2n/06wnxEpK72dNNgVHXfqaJEJZmdW+FbLZkvlmz1V\nvgvtbQ69IaW5FZCmmDRVVAqWbJR3GatzceSjcmerMDO4nYd7lpGcuPSAZ2l1\nioSQO568ZxQ84RpwZW3n/97ALlPJ1cjN2ZysI3cg0dVV3qYaaiQMkQqQRIew\nHELuQpe4noh3tPrv3JvF56W2OrBL2j97N3pC7LHVF8YNjVfEMAkfz+38IyTh\nVJr67x/rIdYyeULYDinIGcZxdF64dHLPtd3SedtXOiFkv2yclyB/JpfpZb+V\nBTJhBDxHrODBv3JmyoLpwPWDbMpV7JzxKspkW3JiVMDn8zc7Imb5MJBtI7tZ\nS6WIEUAb3mTMVjhOCCkoRLoC/drMMOpVx0o+x3ke0Xz7fanAeAqeBPNtQdIO\nzqk2zZ1CaLHImKh6lapXuMZt3uDgkTav0V8Y0fFV+TKaFcpIpIaE5DyYVbnG\nPBQmR6IeWLwQ/q2JdcUVtA9rEcBjXusrLmzlZzk/T2PEFoieLXLUxUDKHA0v\nDuGVylltLyeuogBJK4n31cviHnSKylFqF0Ef2HjvfJk1K8RQXF6BWDbCr7vp\n/ikZ\r\n=USLt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu7HvHa9j0xFYcpz5UrEh9+1grgRHq3TT85Q1d5TF5kgIgDEkaUc3LkEM21UM/Lq0MfY8X+h4op1Nucqhvyf1SAxY="}],"size":5892,"noattachment":false,"key":"/streamtest/-/streamtest-2.0.0.tgz"},"maintainers":[{"name":"marcus.bitzl","email":"marcus@bitzl.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamtest_2.0.0_1595843645763_0.9720013928224973"},"_hasShrinkwrap":false,"publish_time":1595843645926,"_cnpm_publish_time":1595843645926},"1.2.4":{"name":"streamtest","version":"1.2.4","description":"Streams test library","main":"src/index.js","metapak":{"configs":["readme","mocha","eslint","travis","codeclimate"],"data":{"testsFiles":"tests/*.mocha.js","files":"src/*.js 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+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","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","metapak":"1.0.3","metapak-nfroidure":"6.1.0","mocha":"^5.0.0","mocha-lcov-reporter":"^1.3.0","prettier":"^1.11.1"},"dependencies":{"readable-stream":"^2.3.6"},"engines":{"node":">=6.9.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","mocha","mocha-lcov-reporter","coveralls","istanbul","eslint","eslint-config-prettier","prettier"]},"gitHead":"48b617991d369ad30f286facb27a6e3954610ae0","_id":"streamtest@1.2.4","_npmVersion":"6.1.0","_nodeVersion":"8.10.0","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"integrity":"sha512-whFNHqn8eb67GXTxGBKyqQkJrWIw+jTJIGCmhdc21NfavpU6MmXt67wekHzMVbLjJxBXjbDLiG3Moek88XlOMQ==","shasum":"a01b8fb7fb406d15a31cedeb843fac973cff13f2","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.2.4.tgz","fileCount":16,"unpackedSize":27465,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbG2tVCRA9TVsSAnZWagAAMlgP/21W4/vmPLKt3oPasohN\nDRCaZewtBVgrDmX/+eYrycLZD8WkcQXrddB2GVt3JgCRI69pY5M5Seaf1Yqo\nQpGHFoDw8BYvw8OLZn4ThxIIN3Ki/veKnnQSe7bfpPxWIwK5BcWCPDWcemmp\ntzZ5W5c/hMd/RbWhLJCKzEyljB79N+psn/9Y7qvw6GvBSTLqPoCUvIpsIBMd\n6UJuOXlbuPrdUavdFpwsvIzIDi6UnfhvgkuEjGo7uVcmZMDq0LbHP4GvtcMD\nS+/BwQCEIU3kEaCefIozWb3gXKFqCQrB2pblkBTTmjEd1nHzukdff2mUFjAh\nMv/fFP1LLpxisWlFxfEPKXRFaoxSn32DjrNJ+/gExhSkvZmKJNpdJoQUzxq2\n9SjPNWLYFIckF4FC53Yf0V9WZNx/I5gr70y9rn/Ptu3OrIzQJ3GjJnQ7I9GJ\n2BGhqA9k455jd9cy9PMfbVWlv8qCCQ1jeMGx5V4AMy3Kl0Kj3i+lx3P1OHcO\nMk5GcsZl1yJ0IkqklpMMwl4iphWf4lvllyBU7KrNKiz3rQlEAtvokvlctgJt\nTPe15e+YRuY9sfZ8y93YN21H4Q2Mul7e9YcvOg+FvSBgLDVDqEfUYBmjDo8/\nZx3nDfn0gxbRLTqZonTD/PFkcfIZ8yV85uuS4FKk9ahISiYaEb6BbyG73LnZ\n1lDI\r\n=98TT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDG10XNxGbiXsJSu9crAyxa0a7ua38Av8g7r+MxIxiDWwIhAL/yht8HabbpVbIjad3Yj4OWMRGkp9vq7v4qG8WEICBH"}],"size":8314,"noattachment":false,"key":"/streamtest/-/streamtest-1.2.4.tgz"},"maintainers":[{"name":"marcus.bitzl","email":"marcus@bitzl.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamtest_1.2.4_1528523604111_0.8318307567697554"},"_hasShrinkwrap":false,"publish_time":1528523604185,"_cnpm_publish_time":1528523604185},"1.2.3":{"name":"streamtest","version":"1.2.3","description":"Streams test library","main":"src/index.js","metapak":{"configs":["readme","mocha","eslint","travis","codeclimate"],"data":{"testsFiles":"tests/*.mocha.js","files":"src/*.js 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+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","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","metapak":"1.0.2","metapak-nfroidure":"2.0.2","mocha":"^3.5.3","mocha-lcov-reporter":"^1.3.0","prettier":"^1.8.2"},"dependencies":{"readable-stream":"^2.0.5"},"engines":{"node":">=6.9.5"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","mocha","mocha-lcov-reporter","coveralls","istanbul","eslint","eslint-config-prettier","prettier"]},"gitHead":"9f89314dbe9b6ceda0c0ea58a25939d47ac50d39","_id":"streamtest@1.2.3","_npmVersion":"5.5.1","_nodeVersion":"6.10.3","_npmUser":{"name":"nfroidure","email":"nicolas.froidure@insertafter.com"},"dist":{"integrity":"sha512-yJiWNJAs0HfwOIqKZF9vW2Q6xQCsVs1ZEFQyLXdGQTEADK+iwivHMtejZOT0Rl3/2SSM4B/5I0wKer62zksv7g==","shasum":"1e64b82801fcc853efa3bce123cbe521de0aa1ac","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.2.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGX/PjaNIa0CyBQYgjY8jPMEoE+t23MU/su1gUcm3l6gIgH4HQ3JYnRVm56sbohmapi1xB4vEmLJjH/P8wgGpJgwk="}],"size":8261,"noattachment":false,"key":"/streamtest/-/streamtest-1.2.3.tgz"},"maintainers":[{"name":"marcus.bitzl","email":"marcus@bitzl.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamtest-1.2.3.tgz_1512299905275_0.030333267524838448"},"directories":{},"publish_time":1512299906364,"_cnpm_publish_time":1512299906364},"1.2.2":{"name":"streamtest","version":"1.2.2","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git+ssh://git@github.com/nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.8","istanbul":"^0.4.2","mocha":"^2.4.5"},"dependencies":{"readable-stream":"^2.0.5"},"gitHead":"e147252dcabc632a5c778d8b55806f7bd7d5f436","_id":"streamtest@1.2.2","_shasum":"8c18de16fd24784bcb7264c57043a5618a599202","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"marcus.bitzl","email":"marcus@bitzl.com"},"dist":{"shasum":"8c18de16fd24784bcb7264c57043a5618a599202","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.2.2.tgz","integrity":"sha512-WvpY5QzwuTnd8s+db+k6kImatEL6VAYKfoxvEE4zp+sH+2dv+O3emX1X7ufH9bHqKH3Xd1qUZeh2YWFlVujwNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6KRn2hpwckpdmxkCwQy6drgSfhEJfPUYumPIzLrUn6AIgaJHe5RioRFwssK7vVgjJ3xSLnrlYUVw4weTZWxSamc4="}],"size":4198,"noattachment":false,"key":"/streamtest/-/streamtest-1.2.2.tgz"},"maintainers":[{"name":"marcus.bitzl","email":"marcus@bitzl.com"},{"name":"nfroidure","email":"nfroidure@elitwork.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/streamtest-1.2.2.tgz_1458403497141_0.11731473659165204"},"directories":{},"publish_time":1458403499497,"_cnpm_publish_time":1458403499497},"1.2.1":{"name":"streamtest","version":"1.2.1","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"871e1690c63c86352e52060382741c0e33f6358e","_id":"streamtest@1.2.1","_shasum":"0150e3820c4d2cc4cee2f8612aab5355b89b9b78","_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":"0150e3820c4d2cc4cee2f8612aab5355b89b9b78","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.2.1.tgz","integrity":"sha512-K9Cksh1/PXF3j/J36eaJiRxdaYBQ/TEsvXVGut5XgeeXVbuDgji5Wu9G4SZSnz7PU/N1drXwJxPyDsNypyo3qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXFd3TxCwjhQGGu9b1kv+rKieI22ygrXZaz8lWJOc13AiEAp+guoh8uIKdn0c8x9Dto2goMHMMj1pSwTekiq4w4BWo="}],"size":4226,"noattachment":false,"key":"/streamtest/-/streamtest-1.2.1.tgz"},"directories":{},"publish_time":1434788761640,"_cnpm_publish_time":1434788761640},"1.2.0":{"name":"streamtest","version":"1.2.0","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"95def34fbf8f640891a7f5af34cd0bd0550df922","_id":"streamtest@1.2.0","_shasum":"35da4cfc74db5495a10929a357e968817600481d","_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":"35da4cfc74db5495a10929a357e968817600481d","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.2.0.tgz","integrity":"sha512-hw/akgnrbLXxc/EHrL7Yr/sUW/DEM6x2QBS/CfvE6aEM/3qG91hYaJ8/+KZ1jyr0qMHhLtH65M3zx+R1kJWOlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC+vSa3GaMCbjTz/kMRPoVIHi0F4fLEA+OPs6sofyYswAiBS2928LNyHsAHLUVxLL9IjYmVk6QQRGh9PaSLLOmHaiQ=="}],"size":4190,"noattachment":false,"key":"/streamtest/-/streamtest-1.2.0.tgz"},"directories":{},"publish_time":1423924864224,"_cnpm_publish_time":1423924864224},"1.1.1":{"name":"streamtest","version":"1.1.1","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/streamtest.git"},"keywords":["test","streams","stream1","stream2"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"e44d7cf1152b4a7d97ae894ee8d243cd6c1f884f","_id":"streamtest@1.1.1","_shasum":"990b51da584fdba5c34fd19961ea6061696fbd9a","_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":"990b51da584fdba5c34fd19961ea6061696fbd9a","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.1.1.tgz","integrity":"sha512-pZ0Pg82CIguuyijSo1gXIp0gTxSyG3rGzX07rvhFnDTrOBc4ETxXD6aDz0H9JihZTXOiZhJb2vwBL/NMl4izNw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDAPhouL+aRFjHMibsyzEsWjbbPKCic+fCkjgt7VIMqFgIhAL/2ZY/KzUjeayoq3XUUoEPlQHaox7vx9A7TKD26TrEO"}],"size":3989,"noattachment":false,"key":"/streamtest/-/streamtest-1.1.1.tgz"},"directories":{},"publish_time":1423600411199,"_cnpm_publish_time":1423600411199},"1.1.0":{"name":"streamtest","version":"1.1.0","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/streamtest.git"},"keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"774ac60970ce4f5f466aaad004372f2f50e761d4","_id":"streamtest@1.1.0","_shasum":"15c4d1820d2ddbebdef9f552ea21475866a12d8a","_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":"15c4d1820d2ddbebdef9f552ea21475866a12d8a","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.1.0.tgz","integrity":"sha512-AXmvCT8LuL5CTZ79ltEr+2BpfMwvKJuplX3Tyba4ZnEgvi1Wq6sghDH+33hs7WSXQVQbOIBo3nUa/sywHSBSNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCy0ZZWVIpp5Y8lNFLS0esCbd0K6KpRsIvUbTRyAws77QIhANRbPhHLUawGKJOteICF+gS1qhWSGiXR0xDcoM7QncId"}],"size":3876,"noattachment":false,"key":"/streamtest/-/streamtest-1.1.0.tgz"},"directories":{},"publish_time":1423430014889,"_cnpm_publish_time":1423430014889},"1.0.0":{"name":"streamtest","version":"1.0.0","description":"Streams test library","main":"src/index.js","scripts":{"test":"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 | coveralls && rm -rf ./coverage","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000"},"repository":{"type":"git","url":"git@github.com:nfroidure/streamtest.git"},"keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"homepage":"https://github.com/nfroidure/streamtest","devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.5","mocha":"^2.1.0"},"dependencies":{"readable-stream":"^1.0.33"},"gitHead":"035a0b6936548dfd8d767fc2dc4dfb5944e91481","_id":"streamtest@1.0.0","_shasum":"46c1298063b32e6d6dd57a3782385f247378fc8e","_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":"46c1298063b32e6d6dd57a3782385f247378fc8e","tarball":"http://registry-npm.ywwl.com/streamtest/download/streamtest-1.0.0.tgz","integrity":"sha512-KxFRPXKaxyhOxxJTRike7NM9PZhLrXwyw5iuoztxxHwT9wzCn6D6CnkvJ4eUs5zTowSDrZ5XcJ+IQBDG8yhhrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDag47XxLL+8E903U8fkax/kbfruWWKy8J6sv271dxIEQIgR7kgYIE97bWf5gAC72qwLKwEqNFDurS3PyOdN3u+lkY="}],"size":3864,"noattachment":false,"key":"/streamtest/-/streamtest-1.0.0.tgz"},"directories":{},"publish_time":1423423457135,"_cnpm_publish_time":1423423457135}},"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# streamtest\n> Streams test library\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/streamtest/blob/main/LICENSE)\n\n\n[//]: # (::contents:start)\n\n`streamtest` is a set of utils to test your stream based modules simply.\n\nIn fact, this [repository's tests](https://github.com/nfroidure/streamtest/blob/master/src/index.test.js)\n is a perfect example of its own usage ;).\n\n## Installation\n\nFirst install `streamtest` in your project:\n```sh\nnpm install --save-dev streamtest\n```\n\n## Getting started\n\nThen, use it:\n\n```js\nimport StreamTest from 'streamtest';\n\ndescribe('My Stream Lib', () => {\n\n  // here goes your code\n  it('should work', async (done) => {\n    const [outputStream, resultPromise] = StreamTest.toText();\n\n    StreamTest.fromChunks(['a ', 'chunk', 'and', 'another'])\n      .pipe(myTestedStream)\n      .pipe(outputStream);\n\n    assert.equal(await resultPromise, 'the text as i should be')\n  });\n\n});\n```\n\n## Contribute\n\nFeel free to submit us your improvements. To do so, you must accept to publish\n your code under the MIT license.\n\nTo start contributing, first run the following to setup the development\n environment:\n```sh\ngit clone git@github.com:nfroidure/streamtest.git\ncd streamtest\nnpm install\n```\n\nThen, run the tests:\n```sh\nnpm test\n```\n\n[//]: # (::contents:end)\n\n# API\n<a name=\"StreamTest\"></a>\n\n## StreamTest : <code>object</code>\n**Kind**: global namespace  \n\n* [StreamTest](#StreamTest) : <code>object</code>\n    * [.fromObjects(objects, timeout)](#StreamTest.fromObjects) ⇒\n    * [.fromErroredObjects(err, objects, timeout)](#StreamTest.fromErroredObjects) ⇒\n    * [.fromChunks(chunks, timeout)](#StreamTest.fromChunks) ⇒\n    * [.fromErroredChunks(err, objects, timeout)](#StreamTest.fromErroredChunks) ⇒\n    * [.toObjects()](#StreamTest.toObjects) ⇒\n    * [.toChunks()](#StreamTest.toChunks) ⇒\n    * [.toText()](#StreamTest.toText) ⇒\n\n<a name=\"StreamTest.fromObjects\"></a>\n\n### StreamTest.fromObjects(objects, timeout) ⇒\nCreate a readable stream streaming `objects` each\n `timeout` milliseconds and then end. Usefull for\n testing objectMode based streams.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: Readable  \n\n| Param | Description |\n| --- | --- |\n| objects | Array<Object> |\n| timeout | number |\n\n<a name=\"StreamTest.fromErroredObjects\"></a>\n\n### StreamTest.fromErroredObjects(err, objects, timeout) ⇒\nCreate a readable stream streaming `objects` each\n `timeout` milliseconds, emit the `err` error and\n then end. Usefull for testing `objectMode` based\n streams.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: Readable  \n\n| Param | Description |\n| --- | --- |\n| err | Error |\n| objects | Object[] |\n| timeout | number |\n\n<a name=\"StreamTest.fromChunks\"></a>\n\n### StreamTest.fromChunks(chunks, timeout) ⇒\nCreate a readable stream streaming `chunks` each\n `timeout` milliseconds and then end. Usefull for\n testing buffer based streams.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: Readable  \n\n| Param | Description |\n| --- | --- |\n| chunks | Uint8Array[] |\n| timeout | number |\n\n<a name=\"StreamTest.fromErroredChunks\"></a>\n\n### StreamTest.fromErroredChunks(err, objects, timeout) ⇒\nCreate a readable stream streaming `chunks` each\n `timeout` milliseconds, emit the `err` error and\n then end. Usefull for testing buffer based streams.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: Readable  \n\n| Param | Description |\n| --- | --- |\n| err | Error |\n| objects | Object[] |\n| timeout | number |\n\n<a name=\"StreamTest.toObjects\"></a>\n\n### StreamTest.toObjects() ⇒\nCreate a writable stream collecting written `objects`\n and a promise that resolves when it finishes with\n the objects collected.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: [Writable, Promise<Object>]  \n<a name=\"StreamTest.toChunks\"></a>\n\n### StreamTest.toChunks() ⇒\nCreate a writable stream collecting written `chunks`\n and a promise that resolves when it finishes with\n the chunks collected.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: [Writable, Promise<Uint8Array[]>]  \n<a name=\"StreamTest.toText\"></a>\n\n### StreamTest.toText() ⇒\nCreate a writable stream collecting written text\n and a promise that resolves when it finishes with\n the whole text content.\n\n**Kind**: static method of [<code>StreamTest</code>](#StreamTest)  \n**Returns**: [Writable, Promise<string>]  \n\n# Authors\n- [Nicolas Froidure](https://insertafter.com/en/index.html)\n\n# License\n[MIT](https://github.com/nfroidure/streamtest/blob/main/LICENSE)\n","_attachments":{},"homepage":"https://github.com/nfroidure/streamtest","bugs":{"url":"https://github.com/nfroidure/streamtest/issues"},"license":"MIT"}