{"_id":"teex","_rev":"2893195","name":"teex","description":"Turn a readable stream into multiple readable streamx streams","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2022-11-28T08:51:30.000Z","created":"2020-07-03T09:56:49.458Z","1.0.1":"2022-09-12T08:39:15.285Z","1.0.0":"2020-07-03T09:56:49.458Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/teex.git"},"versions":{"1.0.1":{"name":"teex","version":"1.0.1","description":"Turn a readable stream into multiple readable streamx streams","main":"index.js","dependencies":{"streamx":"^2.12.5"},"devDependencies":{"standard":"^14.3.4","tape":"^5.0.1"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/teex.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/teex/issues"},"homepage":"https://github.com/mafintosh/teex","gitHead":"6fd5bfc74d259e9974db6b811f7fb7e5218be293","_id":"teex@1.0.1","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"shasum":"b8fa7245ef8e8effa8078281946c85ab780a0b12","size":2153,"noattachment":false,"key":"/teex/-/teex-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/teex/download/teex-1.0.1.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/teex_1.0.1_1662971955126_0.2260885469108016"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-12T08:45:39.112Z","publish_time":1662971955285,"_cnpm_publish_time":1662971955285},"1.0.0":{"name":"teex","version":"1.0.0","description":"Turn a readable stream into multiple readable streamx streams","main":"index.js","dependencies":{},"devDependencies":{"standard":"^14.3.4","tape":"^5.0.1"},"scripts":{"test":"standard && tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/teex.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/teex/issues"},"homepage":"https://github.com/mafintosh/teex","gitHead":"2e308997c455b94e0ffbf7fe96573a5f7239e04e","_id":"teex@1.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"shasum":"8a663b43f3cda19c86d713fbd2340ab2726af089","size":1976,"noattachment":false,"key":"/teex/-/teex-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/teex/download/teex-1.0.0.tgz"},"maintainers":[{"name":"mafintosh","email":""}],"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/teex_1.0.0_1593770209352_0.6723253462684438"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-25T06:54:37.069Z","publish_time":1593770209458,"_cnpm_publish_time":1593770209458}},"readme":"# teex\n\nTurn a readable stream into multiple readable [streamx streams](https://github.com/mafintosh/streamx).\n\n```\nnpm install teex\n```\n\n## Usage\n\n``` js\nconst tee = require('teex')\n\n// a, b are readable streams that are \"clones\"\n// of someReadableStream. both streams need to\n// be flowing, for someReadableStream to flow\n\nconst [a, b] = tee(someReadableStream)\n```\n\n## API\n\n#### `const streams = tee(s, [howMany])`\n\nSplit a readable stream into multiple streams.\nThe `howMany` argument indicates how many streams\nto split into and defaults to 2.\n\n## License\n\nMIT\n","_attachments":{},"homepage":"https://github.com/mafintosh/teex","bugs":{"url":"https://github.com/mafintosh/teex/issues"},"license":"MIT"}