{"_id":"simple-concat","_rev":"56325","name":"simple-concat","description":"Super-minimalist version of `concat-stream`. Less than 15 lines!","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"feross","email":""}],"time":{"modified":"2021-06-03T10:17:09.000Z","created":"2016-04-21T09:12:52.546Z","1.0.1":"2020-07-17T04:36:24.584Z","1.0.0":"2016-04-21T09:12:52.546Z"},"users":{"monjer":true},"author":{"name":"Feross Aboukhadijeh","email":"feross@feross.org","url":"https://feross.org"},"repository":{"type":"git","url":"git://github.com/feross/simple-concat.git"},"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,"key":"/simple-concat/-/simple-concat-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-concat/download/simple-concat-1.0.1.tgz"},"maintainers":[{"name":"feross","email":""}],"_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},"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,"key":"/simple-concat/-/simple-concat-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/simple-concat/download/simple-concat-1.0.0.tgz"},"maintainers":[{"name":"feross","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/simple-concat-1.0.0.tgz_1461229969789_0.8977642937097698"},"directories":{},"publish_time":1461229972546,"_cnpm_publish_time":1461229972546,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/feross/simple-concat","bugs":{"url":"https://github.com/feross/simple-concat/issues"},"license":"MIT"}