{"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"keywords":["conditional","if","ternary","stream"],"dist-tags":{"latest":"3.0.0"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"description":"Fork stream based on passed condition, and collect down-stream","readme":"ternary-stream ![status](https://secure.travis-ci.org/robrich/ternary-stream.png?branch=master)\r\n=======\r\n\r\nA ternary stream: conditionally control the flow of stream data\r\n\r\n## Usage\r\n\r\n1: Conditionally filter content\r\n\r\n**Condition**\r\n\r\n![][condition]\r\n\r\nif the condition returns truthy, data is piped to the child stream\r\n\r\n```js\r\nvar ternaryStream = require('ternary-stream');\r\n\r\nvar condition = function (data) {\r\n  return true;\r\n};\r\n\r\nprocess.stdin\r\n  .pipe(ternaryStream(condition, process.stdout))\r\n  .pipe(fs.createWriteStream('./out.txt'));\r\n```\r\n\r\nData will conditionally go to stdout, and always go to the file\r\n\r\n2: Ternary stream\r\n\r\n**Ternary**\r\n\r\n![][ternary]\r\n\r\n\r\n```javascript\r\nvar ternaryStream = require('ternary-stream');\r\nvar through2 = require('through2');\r\n\r\nvar count = 0;\r\nvar condition = function (data) {\r\n  count++;\r\n  return count % 2;\r\n};\r\n\r\nprocess.stdin\r\n  .pipe(ternaryStream(condition, fs.createWriteStream('./truthy.txt'), fs.createWriteStream('./falsey.txt')))\r\n  .pipe(process.stdout);\r\n```\r\n\r\nData will either go to truthy.txt (if condition is true) or falsey.txt (if condition is false) and will always go to stdout\r\n\r\n## API\r\n\r\n### ternaryStream(condition, stream [, elseStream])\r\n\r\nternary-stream will pipe data to `stream` whenever `condition` is truthy.\r\n\r\nIf `condition` is falsey and `elseStream` is passed, data will pipe to `elseStream`.\r\n\r\nAfter data is piped to `stream` or `elseStream` or neither, data is piped down-stream.\r\n\r\n#### Parameters\r\n\r\n##### condition\r\n\r\nType: `function`: takes in stream data and returns `boolean`\r\n\r\n```js\r\nfunction (data) {\r\n\treturn true; // or false\r\n}\r\n```\r\n\r\n##### stream\r\n\r\nStream for ternary-stream to pipe data into when condition is truthy.\r\n\r\n##### elseStream\r\n\r\nOptional, Stream for ternary-stream to pipe data into when condition is falsey.\r\n\r\n\r\nLICENSE\r\n-------\r\n\r\n(MIT License)\r\n\r\nCopyright (c) 2014 [Richardson & Sons, LLC](http://richardsonandsons.com/)\r\n\r\nPermission is hereby granted, free of charge, to any person obtaining\r\na copy of this software and associated documentation files (the\r\n\"Software\"), to deal in the Software without restriction, including\r\nwithout limitation the rights to use, copy, modify, merge, publish,\r\ndistribute, sublicense, and/or sell copies of the Software, and to\r\npermit persons to whom the Software is furnished to do so, subject to\r\nthe following conditions:\r\n\r\nThe above copyright notice and this permission notice shall be\r\nincluded in all copies or substantial portions of the Software.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\r\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\r\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\r\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\r\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\r\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n\r\n[condition]: https://rawgithub.com/robrich/ternary-stream/master/img/condition.svg\r\n[ternary]: https://rawgithub.com/robrich/ternary-stream/master/img/ternary.svg\r\n","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"users":{"alanshaw":true,"nukisman":true,"sirrah":true,"fassetar":true,"zhenguo.zhao":true},"bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"license":"MIT","versions":{"1.0.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.0.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer":"^0.1.1","fork-stream":"^0.0.4"},"devDependencies":{"jshint":"^2.5.0","mocha":"^1.18.1","should":"^3.3.1","through2":"^0.4.1"},"scripts":{"test":"mocha && jshint ./*.js && jshint ./test/*.js"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.0.0","dist":{"shasum":"601ff560461af384dddf10f581ced18c976e93a9","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.0.0.tgz","integrity":"sha512-22c9kk9OYXxL+eoYvi0MeGcvQDqGhQ4qcxoRTuIowUkPYmVNEtQ+tm3YJCbny/69D+ZFFXMDq/wC/Vn0/voreA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDroHLAHgK+nnJx7qjkduACTeVs5ziV0sBzs/ppzdf/CgIhAMK2OZ84m0MWZYjkkG3FvQKXpDlzrZVqwKQJFwxvLMs4"}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"directories":{}},"1.0.1":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.0.1","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer":"^0.1.1","fork-stream":"^0.0.4","through2":"^0.4.1"},"devDependencies":{"jshint":"^2.5.0","mocha":"^1.18.1","should":"^3.3.1"},"scripts":{"test":"mocha && jshint ./*.js && jshint ./test/*.js"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.0.1","dist":{"shasum":"471fdb5cf3df32990af3132dfb485230f1646a99","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.0.1.tgz","integrity":"sha512-HswwuiEM8k0reRQ8QUOKfqepyVYg4c6zSx7c8WbdQQCItW1rBIouX0z0eMaQEAjTVdtiCJNa2wlxrsa5/d9NTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICfi5wJ+7WpB/3G2RvpbJf4W5iPKod5tcPVIo2D/Y0XAAiAz89UvLzsfmgsVad65jAdPHZgM2c2n37uozqe2OMD5Ww=="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"directories":{}},"1.1.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.1.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer2":"^0.0.2","event-stream":"^3.1.2","fork-stream":"^0.0.4","through2":"^0.4.1"},"devDependencies":{"jshint":"^2.5.0","mocha":"^1.18.1","should":"^3.3.1"},"scripts":{"test":"mocha && jshint ./*.js && jshint ./test/*.js"},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.1.0","dist":{"shasum":"1dd57f1b2f172b90ad237a13bfbca37b56a11062","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.1.0.tgz","integrity":"sha512-dG65XGxAz3DFqHoI3KFZ0MIToNNXnqGtSyTxiiXyKOIkCgJkF/ILY/XTORRtw8XvjWWOWZkf1WsJ/8Tv8k55Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt7hpNqnRL4eS001cSIA4ZCM1+QNrAk8Du98kbjHP5xAiEA4onP6PcZUey7X8W6beh2qzioX7CH7Y5XGfCo4UuWYH4="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"directories":{}},"1.2.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.2.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer2":"^0.0.2","merge-stream":"^0.1.0","fork-stream":"^0.0.4","through2":"^0.5.1"},"devDependencies":{"jshint":"^2.5.0","mocha":"^1.18.1","should":"^4.0.4"},"scripts":{"test":"mocha && jshint ./index.js && jshint ./test/."},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"gitHead":"c63318824572450b1636c2b5374a6ae36f454939","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.2.0","_shasum":"4063250af613714aa5047fef8e135aa961515119","_from":".","_npmVersion":"1.4.20","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"4063250af613714aa5047fef8e135aa961515119","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.2.0.tgz","integrity":"sha512-Blb7j4mgnHAhTTMT1f2GJBwgIsShNN5yVIkmktQP3bD89R7tNP49HNqvsKvgk/woyrFIP4FwxkuT6IhArRDiwQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2VkLXbehqiFONCb5KqU4xGwYdZEtuoqGuOC3YklrckAiEA8d8OmOiIYTg47lOKlVcYeaqsdBocqPZAz0OVBxe1PS8="}]},"directories":{}},"1.2.1":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.2.1","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer2":"~0.0.2","merge-stream":"~0.1.5","fork-stream":"~0.0.4","through2":"~0.6.1"},"devDependencies":{"jshint":"^2.5.5","mocha":"^1.21.4","should":"^4.0.4"},"scripts":{"test":"mocha && jshint ./index.js && jshint ./test/."},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"gitHead":"a39401436ac5df84cb7ffddbb1a6bed08fe20787","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.2.1","_shasum":"6fa88ce8597b32c73b910fb291e81baa8c3d113b","_from":".","_npmVersion":"1.4.23","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"6fa88ce8597b32c73b910fb291e81baa8c3d113b","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.2.1.tgz","integrity":"sha512-4CZs8zyB8HCzJFZ7L3YIJdAN4K1tXo+A1yoRdqy8jPWGHPRzjZKVPEHXAP51a7UxlCylj3xoR/B868UaeNiZmA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1PTwGCV9f1WMJ2UfVmvFyaiKNeXR2ey7IYlmKmkirMgIhAPvZo63S/iygy9fa8Jo4Pe9ObbAAAFvHmcoGnFzLGWDW"}]},"directories":{}},"1.2.2":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.2.2","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer2":"~0.0.2","merge-stream":"~0.1.6","fork-stream":"~0.0.4","through2":"~0.6.3"},"devDependencies":{"jshint":"^2.5.6","mocha":"^2.0.0","should":"^4.1.0"},"scripts":{"test":"mocha && jshint ./index.js && jshint ./test/."},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"gitHead":"b40509f9ed55ea93a156198142ee045e3ecbdb94","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.2.2","_shasum":"f6e1af34daf7ee7aa41f96d098e4b1f58fe7f888","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"f6e1af34daf7ee7aa41f96d098e4b1f58fe7f888","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.2.2.tgz","integrity":"sha512-mCJg0BgwIbzKYK9fBqL438oMvl/A1aDZKeolgHGkjgodNyssZaHxkqaBwviTdGZJ939bAVv4mCmXvrLFKFh/qQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDdpZr6sE/AERqiJVN7uHpNyQvdFAFRNfMcayR905GEfQIgc71MqYjty0LHelk7N4O0V0Vm/u5yCbU/eP1qXn2NOcg="}]},"directories":{}},"1.2.3":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"1.2.3","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexer2":"~0.0.2","merge-stream":"~0.1.6","fork-stream":"~0.0.4","through2":"~0.6.3"},"devDependencies":{"jshint":"^2.5.10","mocha":"^2.0.1","should":"^4.2.1"},"scripts":{"test":"mocha && jshint ./index.js && jshint ./test/."},"engines":{"node":">= 0.10.0"},"licenses":[{"type":"MIT","url":"http://github.com/robrich/ternary-stream/raw/master/LICENSE"}],"gitHead":"94b37cb8fb81376e8b89fa3aef84ec646c1bc3cc","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@1.2.3","_shasum":"f1969f83847f9642261bc142e17ee200aada83fd","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"f1969f83847f9642261bc142e17ee200aada83fd","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-1.2.3.tgz","integrity":"sha512-f3vJOkIjirehV5TOY0ie9t+rN368llfk734NtnfNg8GT+roZcW4zx70UXIZHZNRzOJ1+xUvkKVJhGXJK3me0AQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGhJlKzg2/Eky7tMh7JtWEQxXB89GEO1Mz4ZOke6cqwwIgWrXhdsil0NmkGOPOTLtdI5Ci2dCj7doC5QAY50Wrkno="}]},"directories":{}},"2.0.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"2.0.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexify":"^3.4.2","fork-stream":"^0.0.4","merge-stream":"^1.0.0","through2":"^2.0.0"},"devDependencies":{"jshint":"^2.8.0","mocha":"^2.3.3","should":"^7.1.0"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.10.0"},"license":"MIT","gitHead":"902550d329852ad688fecf37418b16677d426e0f","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@2.0.0","_shasum":"569fa9042b01456b7a1277c64f41d643d84570e6","_from":".","_npmVersion":"2.13.1","_nodeVersion":"4.1.1","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"569fa9042b01456b7a1277c64f41d643d84570e6","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-2.0.0.tgz","integrity":"sha512-SlkomsMiyfiqHoQuwPKVGncWllBRjxnDH0TuQs1DSRh+ywikfN7vcOb7GarywkcIhX65HL22syv6S/iVYfXHqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGN5jyIxWvE6B4lzRmJCaJVHk0zRCDNeLG8Lm++31UCHAiBpl+CO+vfZ8gXNLyyN3Skl7eD+dhEb+wJnIANYY0krxA=="}]},"directories":{}},"2.0.1":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"2.0.1","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexify":"^3.5.0","fork-stream":"^0.0.4","merge-stream":"^1.0.0","through2":"^2.0.1"},"devDependencies":{"jshint":"^2.9.4","mocha":"^3.1.2","should":"^11.1.1"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.10.0"},"license":"MIT","gitHead":"7a4cb6dbfec47c5e1b5815092ada55263cd857f0","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@2.0.1","_shasum":"064e489b4b5bf60ba6a6b7bc7f2f5c274ecf8269","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"shasum":"064e489b4b5bf60ba6a6b7bc7f2f5c274ecf8269","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-2.0.1.tgz","integrity":"sha512-CElUc5NE45ZJsBW2h4JzJ5CfcvXFrOrwlTKvnOodF3wcbrTzjfLRoyJN4OJKBrIsH8vk3+LaktIjLQzDtTaBsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1qics+q81qlGLBCRbkQM/tE9ZvGHvaljnrriq9GbA5AIhANAMS8RmLnTfT6CWdCH9xYUWkrvO+jIPlPXSykA4LkUW"}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ternary-stream-2.0.1.tgz_1478374690339_0.5152069262694567"},"directories":{}},"2.1.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"2.1.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexify":"^4.1.1","fork-stream":"^0.0.4","merge-stream":"^2.0.0","through2":"^3.0.1"},"devDependencies":{"jshint":"^2.9.4","mocha":"^6.1.4","should":"^13.2.3"},"scripts":{"test":"mocha && jshint ."},"license":"MIT","gitHead":"977ce6f34ddff6375f0f9c627f337c8a33d98593","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@2.1.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.2","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"integrity":"sha512-SLPFlcofTtW71RoCBgLuMKxBiWLzSFaPe8zR5ZRKMRLUtn+856ChnhWdJU0h5eiQFyCGg24Ogfx/4fcHF/oQfA==","shasum":"292d61a1f36678e103662d1853bb13728eb44c02","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-2.1.0.tgz","fileCount":9,"unpackedSize":28172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdL3o2CRA9TVsSAnZWagAAqpcQAI4wEbGtY5mlI055UTwU\nyRgw4TLclMPJt6vaa1Dmp1nd4/sizxyTg2KLOM3lF5WFLS0R3V43ASKLWujH\nQP39eu8IUSFdBdlwBOnkRzOrG9uJ/HIjQL3AbDkfVHApg9Zc23xCRi3F7sRH\n84RbljzWWnkmwKfjIDDraNJ0UXVlSz25XDF/X2dfCdHn8Wrk5wohHixbVmmz\nri151KYXAXZSa46q2wS03JPmpQbTgr4MJ0ojjsCDW7F+mpnhqxb3nfkZmsrF\ngk4uF8mtb6O9bFdndcqupqeOU/qLh7yt5ojPFZBvCAYAHfc2EcmDesMHUWYT\nf6XWXrwHF1NR9UB8sk5KwoPaYI2/I/fk1qcCNORcU13grg2NiEP+MZXZ9rzj\no9z3i6BrzwgM6EXrRh12BHaiolwQWrChcIHFe8U7JtdxeSDQHku4uLVQ2g9w\ntnBKVu3eAuE4aNTdSF/NGmmrVTkCZbTEP88Ws4vzk2OoHlyOf37h/0TTbCjj\nqbJovDScx5cqMvFIIVhyBLnLb83tUIaa98W4PplmVBkpVZqzWQU8OiZAj6m/\n8TjandyTL5BQvXPThOL9Vy1DDdc1jcaUG0hfI/f3MYHJOfcjC6HT5+DerXO3\nxaodfkxzn+EF1O9CMtrVidziMdMSjTLOi+I6XDX08HFdWCa1l8d2M+DhEkr+\n43zk\r\n=E9S6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDD+sA0FjxfSPUgD7mKRocktFbr6SUcd5mR8mKTV7AfNAiBPUsoum6Jj1jdvjmv9LBo5wD+ydwyk7GV3hWRdqAa36Q=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ternary-stream_2.1.0_1563392565477_0.040215050871458935"},"_hasShrinkwrap":false},"2.1.1":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"2.1.1","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexify":"^3.5.0","fork-stream":"^0.0.4","merge-stream":"^1.0.0","through2":"^2.0.1"},"devDependencies":{"jshint":"^2.9.4","mocha":"^3.1.2","should":"^11.1.1"},"scripts":{"test":"mocha && jshint ."},"engines":{"node":">= 0.10.0"},"license":"MIT","gitHead":"b889f1bb8c23428debf1f60d37e746bda7e2b29d","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@2.1.1","_nodeVersion":"12.5.0","_npmVersion":"6.9.2","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"integrity":"sha512-j6ei9hxSoyGlqTmoMjOm+QNvUKDOIY6bNl4Uh1lhBvl6yjPW2iLqxDUYyfDPZknQ4KdRziFl+ec99iT4l7g0cw==","shasum":"4ad64b98668d796a085af2c493885a435a8a8bfc","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-2.1.1.tgz","fileCount":9,"unpackedSize":28219,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMG30CRA9TVsSAnZWagAANgIP/A7kX44gXW0FYrPxJNH5\nL8Wo+c8ajCzQnMCEKO9tICZciWDbXCI51XNtbUdjW/4Fo0/jFuFAwTYt9XCN\n05S/4zP+ucx8TUBnTtriQ9b9UWJtkmUJnt26hgDU/qEvuFHYVaONa7Xgqgzc\nEr9U9FZZpyLleOsMquZhD+OhORe0a5ZkIiNypLTzoa3AJFm6ppYCKNb/aixI\nWosFfQMDcfa63xIG2aSAHFOdJQLMKGHBRKmVvOPhOH+n41WgH+Wu9C0QzInB\n8344TOO2SDZr/uYn9AUSmbIYW1SkGfmF3nYUWjdd5e/Y0zB8k9HJ/goeqk/t\nBz76zUGP76pcc4K7AVjHNbWaJ2/NyyOLkrBSE0XVQppjXbv1wlXY6pmRE4G+\n3Dsn6cA/QY8TJyLSHnqh/V7XW6tfKC50vaSy7X+IxQJMLRI4RX5mIf84A2p8\nWF+62HffK5R3YhF2HY1TJqs7OWv72zX6p5HIGar6pvRe2LW8WLpM8gKh0p82\nJ0NpC1nilA/sllCEbrb+YeeJcNEHv9ooWJnipcUpOJIEfPiHnUZnRsNThSXS\nEVDB19II/+GGJuc050hewBOSdowrv4GUWOyOqMyIZZ0ixVweP9IYnLatyy12\nfP4+N4gYuhhk/6Pgn0zd2u9o5eNQLeXX+r8vBMLgEqnzyNwZbNan4/Q11BGO\nxlpz\r\n=6d1a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA58LqyJB7vdwgdxRsxad7gokAaww0I3hMoo8e9r0rdoAiAp/i8vo90MaJ3oP8TCyYAPAIM3obttpwtdy8b+Coeh7g=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ternary-stream_2.1.1_1563454963587_0.6594756080717306"},"_hasShrinkwrap":false},"3.0.0":{"name":"ternary-stream","description":"Fork stream based on passed condition, and collect down-stream","version":"3.0.0","homepage":"https://github.com/robrich/ternary-stream","repository":{"type":"git","url":"git://github.com/robrich/ternary-stream.git"},"author":{"name":"Rob Richardson","url":"http://robrich.org/"},"main":"./index.js","keywords":["conditional","if","ternary","stream"],"dependencies":{"duplexify":"^4.1.1","fork-stream":"^0.0.4","merge-stream":"^2.0.0","through2":"^3.0.1"},"devDependencies":{"jshint":"^2.9.4","mocha":"^6.1.4","should":"^13.2.3"},"scripts":{"test":"mocha && jshint ."},"license":"MIT","gitHead":"446695284e098c3e42f3cc3bef50a3587cae0586","bugs":{"url":"https://github.com/robrich/ternary-stream/issues"},"_id":"ternary-stream@3.0.0","_nodeVersion":"12.5.0","_npmVersion":"6.9.2","_npmUser":{"name":"anonymous","email":"robrich@robrich.org"},"maintainers":[{"name":"anonymous","email":"robrich@robrich.org"}],"dist":{"integrity":"sha512-oIzdi+UL/JdktkT+7KU5tSIQjj8pbShj3OASuvDEhm0NT5lppsm7aXWAmAq4/QMaBIyfuEcNLbAQA+HpaISobQ==","shasum":"7951930ea9e823924d956f03d516151a2d516253","tarball":"http://repository.ncinga.com/nexus/content/groups/npm-all/ternary-stream/-/ternary-stream-3.0.0.tgz","fileCount":9,"unpackedSize":28141,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMG5tCRA9TVsSAnZWagAAhO0P/0mhFgkoEHni/r1UpyuT\nKip+S+BWneuofut2wimb4o/102RW0WAajhDsMoFRJu3NhPMIGuJjS/1ta64o\nGSgF3wOoQHMbRjXkiqQJ69AZuEtfIwbamTwUHCDzhDiv1pplRHvw3pbQySN1\nQUg0UfC/2b6bUa+T3ZZM4BDMqDoIeFj+MXnomFY26ILyYvJNERAOQUUfv5ck\nmgsdThoE6mLlzYEYzj4z93l8kd2joubxFb5phB5AglSiNokfefKAzo0cIRWC\n0sLS0iZXPeu2B6Bzi3j0424DNnJpF6+yFjC5gM3/ETMFHPPVrLbP1zZAiTIr\nbT6LaDW+fxwd/0GG52JVpB9urNyeRibkjHnpQbRHG/98ixhJ513X+wdptdXm\nFlAOWJpdbT4PsWHlxboRMkzawF0vpTlqQ7zjjRPKqAGkvJt2IgyehrVPiyG+\nGIR8heUXlSaruUMWnccjlgc8oo3ZaSkRvu4m7pDwg9AFYsWAboQErbJ8PyOK\n0qryNIHJKhi1a0Fg1YiEFmQ5D3gQm5N6DiGLy2tbI08q5Bi34Xr1LXojfFeA\nNcc9diCNhduJ6NFV7xymKIk4c2e4rx/rR9Q3XwzsoXRA/m/unsHxxW6XZ5y3\nB/z65SVpHLkjoNqYQvSjQvqKpKf9do3w4Uin9mPp7KHene9WIwmF3hHxFaZt\nbeSU\r\n=ysrg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC2ODCUGpsoEyFgWpOaEcDMw8Sq9N3ufL0KUd33NRnERAiEAir0UL3BE/4UY+LrUG5tZpUrfj9f6b+olMeLog0FxGdQ="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ternary-stream_3.0.0_1563455078023_0.9697662152315423"},"_hasShrinkwrap":false}},"name":"ternary-stream","time":{"modified":"2022-06-27T04:53:12.569Z","created":"2014-04-20T07:11:56.746Z","1.0.0":"2014-04-20T07:11:56.746Z","1.0.1":"2014-04-21T14:20:51.056Z","1.1.0":"2014-04-28T06:37:08.937Z","1.2.0":"2014-07-15T04:33:36.510Z","1.2.1":"2014-08-27T15:21:59.071Z","1.2.2":"2014-10-22T18:00:24.951Z","1.2.3":"2014-11-10T05:28:20.893Z","2.0.0":"2015-09-30T01:55:11.022Z","2.0.1":"2016-11-05T19:38:12.163Z","2.1.0":"2019-07-17T19:42:45.621Z","2.1.1":"2019-07-18T13:02:43.708Z","3.0.0":"2019-07-18T13:04:38.141Z"},"readmeFilename":"README.md","homepage":"https://github.com/robrich/ternary-stream"}