{"_id":"it-buffer","_rev":"4647270","name":"it-buffer","description":"Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!","dist-tags":{"latest":"0.1.3"},"maintainers":[{"name":"mkg20001","email":""}],"time":{"modified":"2026-04-10T20:21:49.000Z","created":"2019-10-29T12:20:39.360Z","0.1.3":"2021-04-13T17:15:32.756Z","0.1.2":"2020-03-21T07:13:24.150Z","0.1.1":"2019-10-29T12:27:03.178Z","0.1.0":"2019-10-29T12:20:39.360Z"},"users":{},"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-buffer.git"},"versions":{"0.1.3":{"name":"it-buffer","version":"0.1.3","description":"Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!","main":"index.js","scripts":{"test":"mocha -A"},"keywords":["async","iterables","buffer","convert","transform"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MPL-2.0","devDependencies":{"it-pipe":"^1.1.0","mocha":"^8.3.2","streaming-iterables":"^5.0.4"},"dependencies":{"bl":"^5.0.0","buffer":"^6.0.3"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-buffer.git"},"bugs":{"url":"https://github.com/mkg20001/it-buffer/issues"},"homepage":"https://github.com/mkg20001/it-buffer#readme","gitHead":"4bead9cfebceea550169c4a06904d52a674ce907","_id":"it-buffer@0.1.3","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"shasum":"efebef1cc35a6133cb9558e759345d4f17b3e1d0","size":1205,"noattachment":false,"key":"/it-buffer/-/it-buffer-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-buffer/download/it-buffer-0.1.3.tgz"},"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"directories":{},"maintainers":[{"name":"mkg20001","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-buffer_0.1.3_1618334132628_0.33763089970133175"},"_hasShrinkwrap":false,"publish_time":1618334132756,"_cnpm_publish_time":1618334132756,"_cnpmcore_publish_time":"2021-12-16T11:26:58.856Z"},"0.1.2":{"name":"it-buffer","version":"0.1.2","description":"Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!","main":"index.js","scripts":{"test":"mocha -A"},"keywords":["async","iterables","buffer","convert","transform"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MPL-2.0","devDependencies":{"it-pipe":"^1.1.0","mocha":"^7.1.1","streaming-iterables":"^4.1.2"},"dependencies":{"bl":"^4.0.2","buffer":"^5.5.0"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-buffer.git"},"bugs":{"url":"https://github.com/mkg20001/it-buffer/issues"},"homepage":"https://github.com/mkg20001/it-buffer#readme","gitHead":"c24aa5d97289556f060d272c2084f292706fa4a3","_id":"it-buffer@0.1.2","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"shasum":"2b37e2c66bbbb94479c2e47c1904bd729f04fc39","size":1204,"noattachment":false,"key":"/it-buffer/-/it-buffer-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-buffer/download/it-buffer-0.1.2.tgz"},"maintainers":[{"name":"mkg20001","email":""}],"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-buffer_0.1.2_1584774803987_0.5455171621836292"},"_hasShrinkwrap":false,"publish_time":1584774804150,"_cnpm_publish_time":1584774804150,"_cnpmcore_publish_time":"2021-12-16T11:26:59.060Z"},"0.1.1":{"name":"it-buffer","version":"0.1.1","description":"Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!","main":"index.js","scripts":{"test":"mocha -A"},"keywords":["async","iterables","buffer","convert","transform"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MPL-2.0","devDependencies":{"it-pipe":"^1.1.0","mocha":"^6.2.2","streaming-iterables":"^4.1.1"},"dependencies":{"bl":"^4.0.0"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-buffer.git"},"bugs":{"url":"https://github.com/mkg20001/it-buffer/issues"},"homepage":"https://github.com/mkg20001/it-buffer#readme","gitHead":"308d7f101d8c1fb43cc458e97c9ac0d0866579cc","_id":"it-buffer@0.1.1","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"64981e3e5e8a316df6b7305c8e0639603527d322","size":1189,"noattachment":false,"key":"/it-buffer/-/it-buffer-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-buffer/download/it-buffer-0.1.1.tgz"},"maintainers":[{"name":"mkg20001","email":""}],"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-buffer_0.1.1_1572352022969_0.6926526109124014"},"_hasShrinkwrap":false,"publish_time":1572352023178,"_cnpm_publish_time":1572352023178,"_cnpmcore_publish_time":"2021-12-16T11:26:59.553Z"},"0.1.0":{"name":"it-buffer","version":"0.1.0","description":"Is it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!","main":"index.js","scripts":{"test":"mocha -A"},"keywords":["async","iterables","buffer","convert","transform"],"author":{"name":"Maciej Krüger","email":"mkg20001@gmail.com"},"license":"MPL-2.0","devDependencies":{"it-pipe":"^1.1.0","mocha":"^6.2.2","streaming-iterables":"^4.1.1"},"dependencies":{"bl":"^4.0.0"},"repository":{"type":"git","url":"git+https://github.com/mkg20001/it-buffer.git"},"bugs":{"url":"https://github.com/mkg20001/it-buffer/issues"},"homepage":"https://github.com/mkg20001/it-buffer#readme","gitHead":"884d1bb27386f841dfde55ce60b45803ab9f207c","_id":"it-buffer@0.1.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"8fe45013aa8dfc9f62751b3a12154e4b5b47b24d","size":1065,"noattachment":false,"key":"/it-buffer/-/it-buffer-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/it-buffer/download/it-buffer-0.1.0.tgz"},"maintainers":[{"name":"mkg20001","email":""}],"_npmUser":{"name":"mkg20001","email":"mkg20001@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/it-buffer_0.1.0_1572351639242_0.8293729617184245"},"_hasShrinkwrap":false,"publish_time":1572351639360,"_cnpm_publish_time":1572351639360,"_cnpmcore_publish_time":"2021-12-16T11:26:59.885Z"}},"readme":"# it-buffer\n\nIs it a string? Is it a BufferList? Or just a Buffer? Worry no more with `it-buffer`!\n\nIt exposes a transform stream that converts all buffer-like objects into true buffers\n\n# Usage\n\n```js\nconst pipe = require('it-pipe')\n\npipe(\n  src,\n  require('it-buffer'),\n  dst\n)\n```\n\nAlso exposes `.toBuffer()` (the same as above) and `.toList()` (returns BufferLists instead of Buffers)\n","_attachments":{},"homepage":"https://github.com/mkg20001/it-buffer#readme","bugs":{"url":"https://github.com/mkg20001/it-buffer/issues"},"license":"MPL-2.0"}