{"_attachments":{},"_id":"simple-concat","_rev":"5972-61f153d5b677e08f5115d0c5","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"description":"Super-minimalist version of `concat-stream`. Less than 15 lines!","dist-tags":{"latest":"1.0.1"},"license":"MIT","maintainers":[{"name":"feross","email":"feross@feross.org"}],"name":"simple-concat","readme":"# simple-concat [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/simple-concat/master.svg\n[travis-url]: https://travis-ci.org/feross/simple-concat\n[npm-image]: https://img.shields.io/npm/v/simple-concat.svg\n[npm-url]: https://npmjs.org/package/simple-concat\n[downloads-image]: https://img.shields.io/npm/dm/simple-concat.svg\n[downloads-url]: https://npmjs.org/package/simple-concat\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n### Super-minimalist version of [`concat-stream`](https://github.com/maxogden/concat-stream). Less than 15 lines!\n\n## install\n\n```\nnpm install simple-concat\n```\n\n## usage\n\nThis example is longer than the implementation.\n\n```js\nvar s = new stream.PassThrough()\nconcat(s, function (err, buf) {\n  if (err) throw err\n  console.error(buf)\n})\ns.write('abc')\nsetTimeout(function () {\n  s.write('123')\n}, 10)\nsetTimeout(function () {\n  s.write('456')\n}, 20)\nsetTimeout(function () {\n  s.end('789')\n}, 30)\n```\n\n## license\n\nMIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).\n","time":{"created":"2022-01-26T13:59:49.719Z","modified":"2024-06-30T11:54:54.071Z","1.0.1":"2020-07-17T04:36:24.584Z","1.0.0":"2016-04-21T09:12:52.546Z"},"versions":{"1.0.1":{"name":"simple-concat","description":"Super-minimalist version of `concat-stream`. Less than 15 lines!","version":"1.0.1","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"bugs":{"url":"https://github.com/feross/simple-concat/issues"},"dependencies":{},"devDependencies":{"standard":"*","tape":"^5.0.1"},"homepage":"https://github.com/feross/simple-concat","keywords":["concat","concat-stream","concat stream"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/simple-concat.git"},"scripts":{"test":"standard && tape test/*.js"},"funding":[{"type":"github","url":"https://github.com/sponsors/feross"},{"type":"patreon","url":"https://www.patreon.com/feross"},{"type":"consulting","url":"https://feross.org/support"}],"gitHead":"44134bf16667b6006a254135d5c8c76ea96823d4","_id":"simple-concat@1.0.1","_nodeVersion":"12.18.2","_npmVersion":"6.14.6","dist":{"shasum":"f46976082ba35c2263f1c8ab5edfe26c41c9552f","size":2092,"noattachment":false,"tarball":"https://registry.npmmirror.com/simple-concat/-/simple-concat-1.0.1.tgz","integrity":"sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q=="},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmUser":{"name":"feross","email":"feross@feross.org"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-concat_1.0.1_1594960584449_0.8623043576224503"},"_hasShrinkwrap":false,"publish_time":1594960584584,"_cnpm_publish_time":1594960584584,"_cnpmcore_publish_time":"2021-12-13T17:58:06.137Z"},"1.0.0":{"name":"simple-concat","description":"Super-minimalist version of `concat-stream`. Less than 15 lines!","version":"1.0.0","author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"http://feross.org/"},"bugs":{"url":"https://github.com/feross/simple-concat/issues"},"dependencies":{},"devDependencies":{"standard":"^6.0.8","tape":"^4.0.0"},"homepage":"https://github.com/feross/simple-concat","keywords":["concat","concat-stream","concat stream"],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git://github.com/feross/simple-concat.git"},"scripts":{"test":"standard && tape test/*.js"},"gitHead":"7ea5b5aecfbbbf554c66474dd43a2271373640ed","_id":"simple-concat@1.0.0","_shasum":"7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6","_from":".","_npmVersion":"2.14.20","_nodeVersion":"4.4.1","_npmUser":{"name":"feross","email":"feross@feross.org"},"dist":{"shasum":"7344cbb8b6e26fb27d66b2fc86f9f6d5997521c6","size":1962,"noattachment":false,"tarball":"https://registry.npmmirror.com/simple-concat/-/simple-concat-1.0.0.tgz","integrity":"sha512-pgxq9iGMSS24atefsqEznXW1Te610qB4pwMdrEg6mxczHh7sPtPyiixkP/VaQic8JjZofnIvT7CDeKlHqfbPBg=="},"maintainers":[{"name":"feross","email":"feross@feross.org"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/simple-concat-1.0.0.tgz_1461229969789_0.8977642937097698"},"directories":{},"publish_time":1461229972546,"_hasShrinkwrap":false,"_cnpm_publish_time":1461229972546,"_cnpmcore_publish_time":"2021-12-13T17:58:06.344Z"}},"bugs":{"url":"https://github.com/feross/simple-concat/issues"},"homepage":"https://github.com/feross/simple-concat","keywords":["concat","concat-stream","concat stream"],"repository":{"type":"git","url":"git://github.com/feross/simple-concat.git"},"_source_registry_name":"default"}