{"maintainers":[{"name":"anonymous","email":"nicolas.froidure@insertafter.com"}],"keywords":["assert","deepEqual","neat"],"dist-tags":{"latest":"4.0.0"},"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"description":"Filtering streams.","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# streamfilter\n> Filtering streams.\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/nfroidure/streamfilter/blob/main/LICENSE)\n\n\n[//]: # (::contents:start)\n\n`streamfilter` is a function based filter for streams inspired per gulp-filter\nbut no limited to Gulp nor to objectMode streams.\n\n## Installation\n\nFirst, install `streamfilter` in your project:\n\n```sh\nnpm install --save streamfilter\n```\n\n## Getting started\n\nThere are 3 common usages:\n\n### Simple filter\n\n```js\nimport { StreamFilter } from 'streamfilter';\n\nconst filter = new StreamFilter((chunk, encoding, cb) => {\n  const mustBeFiltered = chunk.length() > 128;\n\n  if (mustBeFiltered) {\n    cb(true);\n    return;\n  }\n  cb(false);\n});\n\n// Print to stdout a filtered stdin\nprocess.stdin.pipe(filter).pipe(process.stdout);\n```\n\n### Filter and restore\n\n```js\nimport { filterStream } from 'streamfilter';\n\n// Here we use the functionnal help\nconst filter = new filterStream(\n  // Here we use an async callback instead\n  async (chunk, encoding) => {\n    const mustBeFiltered = chunk.length() > 128;\n\n    if (mustBeFiltered) {\n      return true;\n    }\n    return false;\n  },\n  {\n    restore: true,\n  },\n);\n\n// Print accepted chunks in stdout\nfilter.pipe(process.stdout);\n\n// Print filtered one to stderr\nfilter.restore.pipe(process.stderr);\n```\n\n### Filter and restore as a passthrough stream\n\nLet's reach total hype!\n\n```js\nimport { StreamFilter } from 'streamfilter';\nimport { Transform } from 'stream';\n\n// Filter values\nconst filter = new StreamFilter(\n  (chunk, encoding, cb) => {\n    const mustBeFiltered = chunk.length() > 128;\n    if (mustBeFiltered) {\n      cb(true);\n      return;\n    }\n    cb(false);\n  },\n  {\n    restore: true,\n    passthrough: true,\n  },\n);\n\n// Uppercase strings\nconst mySuperTransformStream = new Transform({\n  transform: (chunk, encoding, cb) =>\n    cb(null, Buffer.from(chunk.toString(encoding).toUpperCase(), encoding)),\n});\n\n// Pipe stdin\nprocess.stdin\n  .pipe(filter)\n  // Edit kept chunks\n  .pipe(mySuperTransformStream)\n  // Restore filtered chunks\n  .pipe(filter.restore)\n  // and output!\n  .pipe(process.stdout);\n```\n\nNote that in this case, this is _your_ responsibility to end the restore stream\nby piping in another stream or ending it manually.\n\n[//]: # (::contents:end)\n\n# API\n## Classes\n\n<dl>\n<dt><a href=\"#StreamFilter\">StreamFilter</a></dt>\n<dd><p>Filter piped in streams according to the given <code>filterCallback</code>.</p>\n</dd>\n</dl>\n\n## Functions\n\n<dl>\n<dt><a href=\"#filterStream\">filterStream(filterCallback, options)</a> ⇒</dt>\n<dd><p>Utility function if you prefer a functional way of using this lib</p>\n</dd>\n</dl>\n\n<a name=\"StreamFilter\"></a>\n\n## StreamFilter\nFilter piped in streams according to the given `filterCallback`.\n\n**Kind**: global class  \n<a name=\"new_StreamFilter_new\"></a>\n\n### new StreamFilter(filterCallback, options)\nOptions are passed in as is in the various stream instances spawned by this\n module. So, to use the objectMode, simply pass in the `options.objectMode`\n value set to `true`.\n\n**Returns**: [<code>StreamFilter</code>](#StreamFilter) - The filtering stream  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| filterCallback | <code>function</code> | Callback applying the filters |\n| options | <code>Object</code> | Filtering options |\n| options.passthrough | <code>boolean</code> | Set to `true`, this option changes the restore stream nature from a readable  stream to a passthrough one, allowing you to reuse the filtered chunks in an  existing pipeline. |\n| options.restore | <code>boolean</code> | Set to `true`, this option create a readable stream allowing you to use the  filtered chunks elsewhere. The restore stream is exposed in the `FilterStream`  instance as a `restore` named property. |\n\n<a name=\"filterStream\"></a>\n\n## filterStream(filterCallback, 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| filterCallback | \n| options | \n\n\n# Authors\n- [Nicolas Froidure](http://insertafter.com/en/index.html)\n\n# License\n[MIT](https://github.com/nfroidure/streamfilter/blob/main/LICENSE)\n","repository":{"type":"git","url":"git+ssh://git@github.com/nfroidure/streamfilter.git"},"bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"license":"MIT","versions":{"1.0.0":{"name":"streamfilter","version":"1.0.0","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.0","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"fcdfb13a3c608a0c414c6b66a6a7a57b02b5235a","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.0.tgz","integrity":"sha512-SeC4yt9rA5WxwuEZw5zhY0AIR81YZPjSEFUgp1a+gtyIObN3+dBXxbOUzrwA2sur2itFJXRzU5Z8WctmQOqRjg==","signatures":[{"sig":"MEYCIQDZTHQmgEIeGs5tIcI7yEQRKWtb06UrmRWHfD0ioANy3gIhANZqIGIPB2fSueG9yj/7Td0cgyqf32mseWPiTdwXHItV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"fcdfb13a3c608a0c414c6b66a6a7a57b02b5235a","gitHead":"5005ae74c8e283e9b4ea4cb349738dd5d5cdbc30","scripts":{"test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"streamtest":"^1.0.0","readable-stream":"^1.0.33"},"devDependencies":{"mocha":"^2.1.0","istanbul":"^0.3.5","coveralls":"^2.11.2"}},"1.0.1":{"name":"streamfilter","version":"1.0.1","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.1","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"5ebf8f0a2f29a24295b9ab82aab375f02ac9e42c","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.1.tgz","integrity":"sha512-RfqKcdAETUbNNkoy05gqv3eImbGWz/zdBXC5J/EPeIFTkeYUw7kmmeR+rfVouAb4G3QZdjk6ZqGkCBv3eyfyxQ==","signatures":[{"sig":"MEYCIQCkrNvZIYQotCqFc/j7VYdkJLhyX4qk+Kf5yiM/jiUQ4AIhAOSC2CHNqhI35PvKWauJCOSfElVfEdUkHjbFcwmOyNuY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"5ebf8f0a2f29a24295b9ab82aab375f02ac9e42c","gitHead":"9c049345701382c9d1f97856e7ead15c69b54469","scripts":{"test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"streamtest":"^1.0.0","readable-stream":"^1.0.33"},"devDependencies":{"mocha":"^2.1.0","istanbul":"^0.3.5","coveralls":"^2.11.2"}},"1.0.2":{"name":"streamfilter","version":"1.0.2","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.2","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"738f275b528404d28c3ca1eedee54f7980bc4076","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.2.tgz","integrity":"sha512-9EjkdJkCNpT4UqovN0PeuvAW/m8W1gSz3Bqt8v4pMM6lcGSKzQrjLBWqFRhhN3ZWboTR0TWubW3Uz7uXrwEz7w==","signatures":[{"sig":"MEUCIQC5wJ7sQEWZ4jQrwQAv671/HyrBj+n7F2KjCAoX/VVY6QIgXCBfo/E/ZO0fzy7/JMyQAFBeFxeX3L6wAb4iH69GGUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"738f275b528404d28c3ca1eedee54f7980bc4076","gitHead":"0bfbbf346fb3c6a1f0e95778e830b532ff44c4d4","scripts":{"test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"readable-stream":"^1.0.33"},"devDependencies":{"mocha":"^2.1.0","istanbul":"^0.3.5","coveralls":"^2.11.2","streamtest":"^1.0.0"}},"1.0.3":{"name":"streamfilter","version":"1.0.3","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.3","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"493cf051f7308a87782932c28f146d04db692280","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.3.tgz","integrity":"sha512-zV1k3H5wHr94NKtx9vj+p5WpdksZ+gjL+xcYMybtUEBdTAdQgrr7EwKeP7NqG8HX1LkN12xyybhP0AfIRkFn/w==","signatures":[{"sig":"MEUCIQCE8nuTqwX7kPsmMBlPfsfAwA8HFnbqFzFoZEDU3YuR/AIgAK9OBlBTKgzXUbAi9limtvdReHruY+rMG7PtrjJsTps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"493cf051f7308a87782932c28f146d04db692280","gitHead":"ba61e8843dc5a90a384ec89b09ea6dbce06c04ad","scripts":{"cli":"env NPM_RUN_CLI=1","lint":"eslint **/*.s","test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"mocha":"^2.2.5","eslint":"^1.0.0","sf-lint":"^1.0.2","istanbul":"^0.3.17","coveralls":"^2.11.3","streamtest":"^1.2.1"}},"1.0.4":{"name":"streamfilter","version":"1.0.4","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.4","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"10513b3e0225be9806fa07a0d4eb2bfc56c56fff","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.4.tgz","integrity":"sha512-BlQ+CukhYrPPl6OKcKheNTK1Gr9djkAFrGz07F4se2DkdsrLW25blYSRw1nuhPS0dF+Yio0m4tmAhOQ5Uv3Vww==","signatures":[{"sig":"MEYCIQDsV49MwJSm/InFuXaSspudrxoWKQjaafMz+VzcQV2z8wIhAN8Y+DndJsknZvlnnvtYuVGvqWKiPtjPLu8QKXrTEkLR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"10513b3e0225be9806fa07a0d4eb2bfc56c56fff","gitHead":"4d09fe26b397a628c06947a6b6b3e22d361c0a92","scripts":{"cli":"env NPM_RUN_CLI=1","lint":"eslint **/*.s","test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"mocha":"^2.2.5","eslint":"^1.0.0","sf-lint":"^1.0.2","istanbul":"^0.3.17","coveralls":"^2.11.3","streamtest":"^1.2.1"}},"1.0.5":{"name":"streamfilter","version":"1.0.5","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.5","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"87507111beb8e298451717b511cfed8f002abf53","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.5.tgz","integrity":"sha512-IHuyNEAPs3pi2ABhJ7Dbjza9Gc6Nq7NDvx14tsKw4h4cMUz4YoLOON6nghUvIZVO4NW4qvYUoED1kd6/bipTVQ==","signatures":[{"sig":"MEYCIQCW6ZHwQefsSDviEJWNCFz+kJunFBRe3kE57U+1XMuFRQIhAJhlCmkF7mGVsas5tqmUqW94Z82ZYQSimVvJegzxx9Bj","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","_from":".","_shasum":"87507111beb8e298451717b511cfed8f002abf53","gitHead":"0c0c8a117b79cca6ceb69ab5dbd1789e1ee57e2f","scripts":{"cli":"env NPM_RUN_CLI=1","lint":"eslint **/*.s","test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nfroidure@elitwork.com"},"repository":{"url":"git@github.com:nfroidure/streamfilter.git","type":"git"},"_npmVersion":"2.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"0.12.0","dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"mocha":"^2.2.5","eslint":"^1.0.0","sf-lint":"^1.0.2","istanbul":"^0.3.17","coveralls":"^2.11.3","streamtest":"^1.2.1"}},"1.0.6":{"name":"streamfilter","version":"1.0.6","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.6","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"8d08717cac077b0834c82607d0fa9bc777a7fcbc","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.6.tgz","integrity":"sha512-JM3zxd/lvOuo+EZJlZNYdQucfybA+Jr6jRtZwWlMAq1dAV0LIjZrqSNBBK62qCtflJ8rL/+cAnxy69CPhkTJNA==","signatures":[{"sig":"MEQCIHK8WyigjMPuVNUT4gOVvHkSlI4/RpMR9a4BEcMHVtuRAiAhjuVGOyrRkVcHhMMZCBI/7VXtL7LGMxBTD4c4XEYQ5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=6.9.5"},"gitHead":"5713810804d270643040e7868a353cf1772e8c4d","metapak":{"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"},"configs":["readme","jsdocs","eslint","mocha","codeclimate","travis"]},"scripts":{"cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","cli":"env NODE_ENV=${NODE_ENV:-cli}","doc":"mkdir -p .readme; echo \"# API\" > .readme/API.md; jsdoc2md src/*.js tests/*.mocha.js >> .readme/API.md","lint":"eslint src/*.js tests/*.mocha.js","test":"npm run mocha","cover":"istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000","mocha":"mocha tests/*.mocha.js","metapak":"metapak","version":"npm run changelog && git add CHANGELOG.md","prettier":"prettier --write src/*.js tests/*.mocha.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","preversion":"npm t && npm run lint && npm run metapak -s"},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"deprecated":"Semver","repository":{"url":"git+ssh://git@github.com/nfroidure/streamfilter.git","type":"git"},"_npmVersion":"5.5.1","description":"Filtering streams.","directories":{},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","jsdoc-to-markdown","eslint","eslint-config-prettier","prettier","mocha","mocha-lcov-reporter","coveralls","istanbul"]},"_nodeVersion":"6.10.3","dependencies":{"readable-stream":"^2.3.3"},"devDependencies":{"mocha":"^3.5.3","eslint":"^4.12.1","metapak":"^1.0.2","istanbul":"^0.4.5","prettier":"^1.8.2","coveralls":"^2.13.3","commitizen":"^2.9.6","streamtest":"^1.2.3","jsdoc-to-markdown":"^3.0.2","metapak-nfroidure":"^2.0.2","mocha-lcov-reporter":"^1.3.0","eslint-plugin-prettier":"^2.3.1","cz-conventional-changelog":"^2.0.0","conventional-changelog-cli":"^1.3.5"},"_npmOperationalInternal":{"tmp":"tmp/streamfilter-1.0.6.tgz_1512304652301_0.4825136454310268","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"streamfilter","version":"2.0.0","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@2.0.0","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"f57f20c57d2e1623d315a593e87e5278cc4d0104","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-2.0.0.tgz","integrity":"sha512-qK7QOpRlaXUU742b5V9XtX8X61Ol8mYpeZJN/j0SEmxtEd+G6QWSv/iFLDae3N67b7MblXPU0DsiNSST9CJQRw==","signatures":[{"sig":"MEYCIQD20VPBvr2n94YX5W/U2zGdG6UTxYdaD98BDBsxkucavwIhANFdHyovvYT8whsukpGfmPgW6424KCcHYHzp7XQBywJF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=6.9.5"},"gitHead":"6a0406877d4d10882d72b9b9759a00599d7d5926","metapak":{"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"},"configs":["readme","jsdocs","eslint","mocha","codeclimate","travis"]},"scripts":{"cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","cli":"env NODE_ENV=${NODE_ENV:-cli}","doc":"mkdir -p .readme; echo \"# API\" > .readme/API.md; jsdoc2md src/*.js tests/*.mocha.js >> .readme/API.md","lint":"eslint src/*.js tests/*.mocha.js","test":"npm run mocha","cover":"istanbul cover _mocha --report html -- tests/*.mocha.js -R spec -t 5000","mocha":"mocha tests/*.mocha.js","metapak":"metapak","version":"npm run changelog && git add CHANGELOG.md","prettier":"prettier --write src/*.js tests/*.mocha.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","coveralls":"istanbul cover _mocha --report lcovonly -- tests/*.mocha.js -R spec -t 5000 && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage","preversion":"npm t && npm run lint && npm run metapak -s"},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"repository":{"url":"git+ssh://git@github.com/nfroidure/streamfilter.git","type":"git"},"_npmVersion":"5.5.1","description":"Filtering streams.","directories":{},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","jsdoc-to-markdown","eslint","eslint-config-prettier","prettier","mocha","mocha-lcov-reporter","coveralls","istanbul"]},"_nodeVersion":"6.10.3","dependencies":{"readable-stream":"^2.3.3"},"devDependencies":{"mocha":"^3.5.3","eslint":"^4.12.1","metapak":"^1.0.2","istanbul":"^0.4.5","prettier":"^1.8.2","coveralls":"^2.13.3","commitizen":"^2.9.6","streamtest":"^1.2.3","jsdoc-to-markdown":"^3.0.2","metapak-nfroidure":"^2.0.2","mocha-lcov-reporter":"^1.3.0","eslint-plugin-prettier":"^2.3.1","cz-conventional-changelog":"^2.0.0","conventional-changelog-cli":"^1.3.5"},"_npmOperationalInternal":{"tmp":"tmp/streamfilter-2.0.0.tgz_1512544890228_0.11984894634224474","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"streamfilter","version":"1.0.7","keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure"},"license":"MIT","_id":"streamfilter@1.0.7","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"ae3e64522aa5a35c061fd17f67620c7653c643c9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-1.0.7.tgz","integrity":"sha512-Gk6KZM+yNA1JpW0KzlZIhjo3EaBJDkYfXtYSbOwNIQ7Zd6006E6+sCFlW1NDvFG/vnXhKmw6TJJgiEQg/8lXfQ==","signatures":[{"sig":"MEUCIHlkX1mVIVXDWD4Y1k64evfFpcWWsm4mREjZTmNtjbQgAiEAldaWorv0wwkxnQbojLPbuVhFIKrTGSOyRLT10ao52xg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"src/index.js","gitHead":"6c9733f67f9c21c4df81728ff3bfd3d67ba24b2a","scripts":{"cli":"env NPM_RUN_CLI=1","lint":"eslint **/*.s","test":"mocha tests/*.mocha.js","cover":"./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report html -- tests/*.mocha.js -R spec -t 5000","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"},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"repository":{"url":"git+ssh://git@github.com/nfroidure/streamfilter.git","type":"git"},"_npmVersion":"5.5.1","description":"Filtering streams.","directories":{},"_nodeVersion":"6.10.3","dependencies":{"readable-stream":"^2.0.2"},"devDependencies":{"mocha":"^2.2.5","eslint":"^1.0.0","sf-lint":"^1.0.2","istanbul":"^0.3.17","coveralls":"^2.11.3","streamtest":"^1.2.1"},"_npmOperationalInternal":{"tmp":"tmp/streamfilter-1.0.7.tgz_1512545341229_0.7666103506926447","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"streamfilter","version":"3.0.0","keywords":["assert","deepEqual","neat"],"author":{"url":"http://insertafter.com/en/index.html","name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com"},"license":"MIT","_id":"streamfilter@3.0.0","maintainers":[{"name":"anonymous","email":"nfroidure@elitwork.com"}],"contributors":[],"homepage":"https://github.com/nfroidure/streamfilter","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"dist":{"shasum":"8c61b08179a6c336c6efccc5df30861b7a9675e7","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-3.0.0.tgz","fileCount":5,"integrity":"sha512-kvKNfXCmUyC8lAXSSHCIXBUlo/lhsLcCU/OmzACZYpRUdtKIH68xYhm/+HI15jFJYtNJGYtCgn2wmIiExY1VwA==","signatures":[{"sig":"MEYCIQCOxx3y3JCbpxOIOavq0AuZFOtYJDjQwB2ew02AiYQ+6wIhAPG8p8ZzdadvGcpfCWXPcZge9z/sY6gHZ5LFqM4wET9w","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5rTmCRA9TVsSAnZWagAApy4P/29tk9vZXKyB7t/WTqhW\nNI37/fLhKMCzCjDxb5EhFUz3dqYB49ED2jHCwwnBfzE8b0r/RaFv5m35rbvR\nbkUpJqbSwVtorYXM/pSvHg9u54PxCmYFGngRKdBZpk0JklltTfcdyKNc4Eqh\nm2JshIEit7ROh5hur1QKTibJUSxzEFPVMmGz2W4xchXd/0Vpo158O36VHzqy\nzpz4gZOPT/u7heA06Ksuv98x8c2PzhSMe7Ao5cO9rKlwxNQmQm/QbzBf3IDD\nCW8OogHiHN1tRbLs4TRssj5Jne6Mkn7+LPk3jp0NGKhxZcoLiNdG2YEwaHXi\nTBAhYvX9ZqCxoVTy0xPSYKt8Roz6gFfgRwoVDqYUVbgQI2v2dYyuPdaxkqrO\n9mnCdEC/pJtTY4G9WfKkia5ZAuwdbuMPJq1e97+FufIbXaOyyC0aUgMEhfn5\ne6nO0Uq5TjmB+V4T8rR9QYKKyiXae4/rHR6HsY8ogQJXpAPAduUiKhqTbpJ7\n+aeEkQXCMJNbwVkGXoKC+Rm0cp/GajEXWTm3OM0dr/pDg1zITg2aDRAuc53c\n/ri/NA3r5DUZ9p5U8P2GLH1qVf63BpO5ZnYuKrF2Ambwd/Mc/Oi5sBCEj7gt\n896SJa4mwVIsFxTsCwUgGwze8LmgDD3iu9kRxu9Jbd5UPIJfbQbiEvRz2LHF\nl1El\r\n=4Uq4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"engines":{"node":">=8.12.0"},"gitHead":"373da8fa746a054f501ab34bb9feba74da226a84","metapak":{"data":{"files":"src/*.js tests/*.mocha.js","testsFiles":"tests/*.mocha.js"},"configs":["main","readme","jsdocs","eslint","mocha","codeclimate","travis"]},"scripts":{"cz":"env NODE_ENV=${NODE_ENV:-cli} git cz","cli":"env NODE_ENV=${NODE_ENV:-cli}","doc":"echo \"# API\" > API.md; jsdoc2md src/*.js tests/*.mocha.js >> API.md && git add API.md","lint":"eslint src/*.js tests/*.mocha.js","test":"npm run mocha","cover":"nyc npm test && nyc report --reporter=html --reporter=text","mocha":"mocha tests/*.mocha.js","precz":"npm t && npm run lint && npm run doc && npm run metapak -- -s","metapak":"metapak","version":"npm run changelog && git add CHANGELOG.md","prettier":"prettier --write src/*.js tests/*.mocha.js","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s","coveralls":"nyc npm test && nyc report --reporter=text-lcov | coveralls && rm -rf ./coverage","preversion":"npm t && npm run lint && npm run doc && npm run metapak -- -s"},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"prettier":{"semi":true,"proseWrap":"always","printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+ssh://git@github.com/nfroidure/streamfilter.git","type":"git"},"_npmVersion":"6.4.1","description":"Filtering streams.","directories":{},"greenkeeper":{"ignore":["commitizen","cz-conventional-changelog","conventional-changelog-cli","jsdoc-to-markdown","eslint","eslint-config-prettier","prettier","mocha","coveralls","nyc"]},"_nodeVersion":"8.10.0","dependencies":{"readable-stream":"^3.0.6"},"eslintConfig":{"env":{"es6":true,"jest":true,"node":true,"mocha":true},"rules":{"prettier/prettier":"error"},"extends":["eslint:recommended"],"plugins":["prettier"],"parserOptions":{"modules":true,"sourceType":"script"}},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^13.0.1","mocha":"^5.2.0","eslint":"^5.8.0","metapak":"^2.0.0","prettier":"^1.14.3","coveralls":"^3.0.2","commitizen":"^3.0.4","streamtest":"^1.2.4","jsdoc-to-markdown":"^4.0.1","metapak-nfroidure":"^9.0.2","eslint-plugin-prettier":"^3.0.0","cz-conventional-changelog":"^2.1.0","conventional-changelog-cli":"^2.0.11"},"_npmOperationalInternal":{"tmp":"tmp/streamfilter_3.0.0_1541846245766_0.06540921179176018","host":"s3://npm-registry-packages"}},"4.0.0":{"metapak":{"configs":["main","readme","tsesm","jest","jsdocs","eslint","codeclimate","ghactions"],"data":{"files":"'src/**/*.ts'","testsFiles":"'src/**/*.tests.ts'","distFiles":"'dist/**/*.js'","ignore":["dist"],"bundleFiles":["dist","src"]}},"name":"streamfilter","version":"4.0.0","description":"Filtering streams.","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":"echo \"WARNING: No tests specified\" && npm run jest","type-check":"tsc --pretty --noEmit","version":"npm run changelog"},"repository":{"type":"git","url":"git+ssh://git@github.com/nfroidure/streamfilter.git"},"keywords":["assert","deepEqual","neat"],"author":{"name":"Nicolas Froidure","email":"nicolas.froidure@insertafter.com","url":"http://insertafter.com/en/index.html"},"license":"MIT","bugs":{"url":"https://github.com/nfroidure/streamfilter/issues"},"homepage":"https://github.com/nfroidure/streamfilter","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"},"engines":{"node":">=20.11.1"},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"contributors":[],"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"all","proseWrap":"always"},"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"]},"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},"dependencies":{"yerror":"^8.0.0"},"_id":"streamfilter@4.0.0","gitHead":"7921539bec0b7978252602be61b9ffc5bbf6be2a","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-tWRZu1Y+k/hn0K2BgXPQriIN5kM7HOW0qw8qyKXaO9my2XAgahRjVXrfqqoeBKfiepE9Y4jsTEHw79MkLK/J4w==","shasum":"03ed09587e9af23a43697d346bab08506435f1c2","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/streamfilter/-/streamfilter-4.0.0.tgz","fileCount":12,"unpackedSize":83437,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHVYODel+5aLwxhVUtT2+CFv/R2wkuDbtVre8QJ7JALAiBtQDhefWdACYnyklWkEaOj+fyTKzpvzNXvkpXr1bjbgg=="}]},"_npmUser":{"name":"anonymous","email":"nicolas.froidure@insertafter.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"nicolas.froidure@insertafter.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/streamfilter_4.0.0_1721212687246_0.23344884734340487"},"_hasShrinkwrap":false}},"name":"streamfilter","time":{"created":"2015-02-09T08:28:59.412Z","modified":"2024-07-17T10:38:07.594Z","1.0.0":"2015-02-09T08:28:59.412Z","1.0.1":"2015-02-09T08:39:03.276Z","1.0.2":"2015-08-01T11:23:04.518Z","1.0.3":"2015-08-02T10:12:01.683Z","1.0.4":"2015-08-11T09:04:12.407Z","1.0.5":"2015-08-21T08:50:27.633Z","1.0.6":"2017-12-03T12:37:33.247Z","2.0.0":"2017-12-06T07:21:31.134Z","1.0.7":"2017-12-06T07:29:01.331Z","3.0.0":"2018-11-10T10:37:25.945Z","4.0.0":"2024-07-17T10:38:07.436Z"},"contributors":[],"readmeFilename":"README.md","homepage":"https://github.com/nfroidure/streamfilter"}