{"_id":"b4a","_rev":"297388","name":"b4a","description":"Bridging the gap between buffers and typed arrays","dist-tags":{"latest":"1.6.4"},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"time":{"modified":"2024-01-04T17:35:44.000Z","created":"2021-10-20T13:50:01.202Z","1.6.4":"2023-05-05T10:14:45.798Z","1.6.3":"2023-03-17T13:18:25.120Z","1.6.2":"2023-03-09T09:48:37.714Z","1.6.1":"2022-10-18T13:31:58.314Z","1.6.0":"2022-07-27T08:58:41.191Z","1.5.3":"2022-05-20T12:59:18.835Z","1.5.2":"2022-05-20T12:46:30.044Z","1.5.1":"2022-05-20T12:02:57.125Z","1.5.0":"2022-04-22T11:44:49.226Z","1.4.0":"2022-04-22T10:33:42.715Z","1.3.1":"2021-11-25T15:03:36.139Z","1.3.0":"2021-11-24T20:30:56.096Z","1.2.0":"2021-11-24T20:04:13.889Z","1.1.4":"2021-11-22T19:58:06.049Z","1.1.3":"2021-11-22T10:29:38.465Z","1.1.2":"2021-11-10T13:35:44.942Z","1.1.1":"2021-11-03T14:32:06.050Z","1.1.0":"2021-10-29T11:37:05.145Z","1.0.1":"2021-10-25T09:30:50.791Z","1.0.0":"2021-10-20T17:21:41.037Z","0.0.0":"2021-10-20T13:50:01.202Z"},"users":{},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/b4a.git"},"versions":{"1.6.4":{"name":"b4a","version":"1.6.4","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/b4a/issues"},"homepage":"https://github.com/holepunchto/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"d2b742296c96f5683f083f27869ce893a6228316","_id":"b4a@1.6.4","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"shasum":"ef1c1422cae5ce6535ec191baeed7567443f36c9","size":6242,"noattachment":false,"key":"/b4a/-/b4a-1.6.4.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.6.4.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.6.4_1683281685627_0.7866432969081794"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-05T10:14:45.798Z","publish_time":1683281685798,"_source_registry_name":"default","_cnpm_publish_time":1683281685798},"1.6.3":{"name":"b4a","version":"1.6.3","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/b4a/issues"},"homepage":"https://github.com/holepunchto/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"53d8ee1474a557e016702ed4056738fe967c7ffb","_id":"b4a@1.6.3","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"shasum":"cce6e8a2f0d0774e5fe8062086827e979970266d","size":6219,"noattachment":false,"key":"/b4a/-/b4a-1.6.3.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.6.3.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.6.3_1679059104969_0.6945984671914149"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-17T13:18:25.120Z","publish_time":1679059105120,"_cnpm_publish_time":1679059105120},"1.6.2":{"name":"b4a","version":"1.6.2","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/b4a/issues"},"homepage":"https://github.com/holepunchto/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"22fee03c5cc01d86d1c1fc53e4c153e269b81961","_id":"b4a@1.6.2","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"shasum":"d3dca0ac7da794aa13093e92dd57cfe61d58b07e","size":6227,"noattachment":false,"key":"/b4a/-/b4a-1.6.2.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.6.2.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.6.2_1678355317537_0.2662942045650045"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-09T09:48:37.714Z","publish_time":1678355317714,"_cnpm_publish_time":1678355317714},"1.6.1":{"name":"b4a","version":"1.6.1","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/b4a/issues"},"homepage":"https://github.com/holepunchto/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"f9510755db505d121b24ca46990e4da0337f5ed1","_id":"b4a@1.6.1","_nodeVersion":"18.9.0","_npmVersion":"8.19.1","dist":{"shasum":"9effac93a469a868d024e16fd77162c653544cbd","size":6226,"noattachment":false,"key":"/b4a/-/b4a-1.6.1.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.6.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.6.1_1666099918162_0.9393780506087017"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-22T17:36:45.361Z","publish_time":1666099918314,"_cnpm_publish_time":1666099918314},"1.6.0":{"name":"b4a","version":"1.6.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"375edebf6639ed2d8f623da9a66a679c1c3bea79","_id":"b4a@1.6.0","_nodeVersion":"18.4.0","_npmVersion":"8.12.1","dist":{"shasum":"5430a9cac1af388910dd1a1c1aa9d3a0a796ed68","size":6229,"noattachment":false,"key":"/b4a/-/b4a-1.6.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.6.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.6.0_1658912321026_0.8393730758129376"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-07-27T10:07:37.333Z","publish_time":1658912321191,"_cnpm_publish_time":1658912321191},"1.5.3":{"name":"b4a","version":"1.5.3","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"81ff8e1b5de2e1c89cd34b10ccad7a87bab087d4","_id":"b4a@1.5.3","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"shasum":"56293b5607aeda3fd81c481e516e9f103fc88341","size":5890,"noattachment":false,"key":"/b4a/-/b4a-1.5.3.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.5.3.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.5.3_1653051558661_0.06562095337337137"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-20T13:03:00.509Z","publish_time":1653051558835,"_cnpm_publish_time":1653051558835},"1.5.2":{"name":"b4a","version":"1.5.2","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"c0927f0e735ecd1f1a81dab6f8ce086edc18f333","_id":"b4a@1.5.2","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"shasum":"2f87e4a3dde4bb5b86c1553f3f29d5901b4ec09f","size":5884,"noattachment":false,"key":"/b4a/-/b4a-1.5.2.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.5.2.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.5.2_1653050789869_0.8832918321742254"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-20T13:03:00.225Z","publish_time":1653050790044,"_cnpm_publish_time":1653050790044},"1.5.1":{"name":"b4a","version":"1.5.1","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"b6daeb84bb1239538e14fce21362d3cfeec7e069","_id":"b4a@1.5.1","_nodeVersion":"18.0.0","_npmVersion":"8.6.0","dist":{"shasum":"7999832de7b262da50ca1a402b7e68853af81416","size":5885,"noattachment":false,"key":"/b4a/-/b4a-1.5.1.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.5.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@hey.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.5.1_1653048176967_0.7854448169756065"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-20T13:02:59.923Z","publish_time":1653048177125,"_cnpm_publish_time":1653048177125},"1.5.0":{"name":"b4a","version":"1.5.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"959682a99385d55564f0aaaa01e80f08f7d7fe9b","_id":"b4a@1.5.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"shasum":"cb071ca8f4e6f1eaf7d269c9ccc8eea21a914d00","size":5851,"noattachment":false,"key":"/b4a/-/b4a-1.5.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.5.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.5.0_1650627889083_0.458289439553065"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-22T12:00:09.324Z","publish_time":1650627889226,"_cnpm_publish_time":1650627889226},"1.4.0":{"name":"b4a","version":"1.4.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"014a7907a94deb11d7a6ffb47c9baf82bb081b1c","_id":"b4a@1.4.0","_nodeVersion":"17.8.0","_npmVersion":"8.5.5","dist":{"shasum":"b71264785f5fd69848453399dbd1279af33a2d00","size":5363,"noattachment":false,"key":"/b4a/-/b4a-1.4.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.4.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.4.0_1650623622512_0.6969338595097385"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-04-22T10:56:14.314Z","publish_time":1650623622715,"_cnpm_publish_time":1650623622715},"1.3.1":{"name":"b4a","version":"1.3.1","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"a102bbcd23481d7843a6b14171dd0354b72f8e34","_id":"b4a@1.3.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"5ead1402bd4a2dcfea35cc83928815d53315ff32","size":6934,"noattachment":false,"key":"/b4a/-/b4a-1.3.1.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.3.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.3.1_1637852615806_0.08896944603194457"},"_hasShrinkwrap":false,"publish_time":1637852616139,"_cnpm_publish_time":1637852616139,"_cnpmcore_publish_time":"2021-12-16T16:11:03.217Z"},"1.3.0":{"name":"b4a","version":"1.3.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"7ed0016fb2f84dbdaba69857d1f920710bd9519a","_id":"b4a@1.3.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"5650e2ba699cbefcca17d2bdaa4a4987a5402144","size":6487,"noattachment":false,"key":"/b4a/-/b4a-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.3.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.3.0_1637785855949_0.7178005146154798"},"_hasShrinkwrap":false,"publish_time":1637785856096,"_cnpm_publish_time":1637785856096,"_cnpmcore_publish_time":"2021-12-16T16:11:03.561Z"},"1.2.0":{"name":"b4a","version":"1.2.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"72ad87b8f698849a21907b22c4b38b3f8cc38014","_id":"b4a@1.2.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"face62a078b98814e0275c8f3f81453d47f7c962","size":6001,"noattachment":false,"key":"/b4a/-/b4a-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.2.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.2.0_1637784253731_0.6198966922064963"},"_hasShrinkwrap":false,"publish_time":1637784253889,"_cnpm_publish_time":1637784253889,"_cnpmcore_publish_time":"2021-12-16T16:11:03.787Z"},"1.1.4":{"name":"b4a","version":"1.1.4","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"bbd8b79553388cf03ecc3324a0841f88764fb6c2","_id":"b4a@1.1.4","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"1fb4a659d2958d2f6929d1e257389f637f94b3ef","size":5502,"noattachment":false,"key":"/b4a/-/b4a-1.1.4.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.1.4.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.1.4_1637611085896_0.4645694905243951"},"_hasShrinkwrap":false,"publish_time":1637611086049,"_cnpm_publish_time":1637611086049,"_cnpmcore_publish_time":"2021-12-16T16:11:04.164Z"},"1.1.3":{"name":"b4a","version":"1.1.3","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"7ed6d8aa3e412609a5547f085dcb4b5433bc5e82","_id":"b4a@1.1.3","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"c2b3b09771873026c6190cd01f96a2b5651000ae","size":5504,"noattachment":false,"key":"/b4a/-/b4a-1.1.3.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.1.3.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.1.3_1637576978337_0.7032002050429205"},"_hasShrinkwrap":false,"publish_time":1637576978465,"_cnpm_publish_time":1637576978465,"_cnpmcore_publish_time":"2021-12-16T16:11:04.406Z"},"1.1.2":{"name":"b4a","version":"1.1.2","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"2d35350e9dd95a88666200207b124a20b4c0354b","_id":"b4a@1.1.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"9af795775e01c7ce1c190ca41884255e3aca7e32","size":4930,"noattachment":false,"key":"/b4a/-/b4a-1.1.2.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.1.2.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.1.2_1636551344825_0.5069556380968274"},"_hasShrinkwrap":false,"publish_time":1636551344942,"_cnpm_publish_time":1636551344942,"_cnpmcore_publish_time":"2021-12-16T16:11:04.873Z"},"1.1.1":{"name":"b4a","version":"1.1.1","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"2c07aa978f8e87dd96c3fdb9bf463811047e92cb","_id":"b4a@1.1.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"c50c0ae687c99f001f55c6684b60596171efc1d6","size":4894,"noattachment":false,"key":"/b4a/-/b4a-1.1.1.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.1.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.1.1_1635949925907_0.861270538800655"},"_hasShrinkwrap":false,"publish_time":1635949926050,"_cnpm_publish_time":1635949926050,"_cnpmcore_publish_time":"2021-12-16T16:11:05.283Z"},"1.1.0":{"name":"b4a","version":"1.1.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"85b366740066e3bde2c547d9e9e7c4f6ce2524c1","_id":"b4a@1.1.0","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"62c06cbf2da88f66fd0be1c75b794114222f14ff","size":4898,"noattachment":false,"key":"/b4a/-/b4a-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.1.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.1.0_1635507424991_0.9060016987409252"},"_hasShrinkwrap":false,"publish_time":1635507425145,"_cnpm_publish_time":1635507425145,"_cnpmcore_publish_time":"2021-12-16T16:11:05.671Z"},"1.0.1":{"name":"b4a","version":"1.0.1","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"60af1c92467512dde14cc1c1d798f30f7c95fa59","_id":"b4a@1.0.1","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"shasum":"01a0fbcb64d4b2947cc1cc5dcf0e9eff5d1f463b","size":4767,"noattachment":false,"key":"/b4a/-/b4a-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.0.1.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.0.1_1635154250606_0.04318599385787536"},"_hasShrinkwrap":false,"publish_time":1635154250791,"_cnpm_publish_time":1635154250791,"_cnpmcore_publish_time":"2021-12-16T16:11:05.905Z"},"1.0.0":{"name":"b4a","version":"1.0.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"8f3e72365977af43e7cfd790bc545736e8075cd9","_id":"b4a@1.0.0","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"shasum":"aa3b9ba16d6be3f1ea37128f505193bd9d5d270e","size":4769,"noattachment":false,"key":"/b4a/-/b4a-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-1.0.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_1.0.0_1634750500846_0.6145766663845742"},"_hasShrinkwrap":false,"publish_time":1634750501037,"_cnpm_publish_time":1634750501037,"_cnpmcore_publish_time":"2021-12-16T16:11:06.189Z"},"0.0.0":{"name":"b4a","version":"0.0.0","description":"Bridging the gap between buffers and typed arrays","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test/*.mjs"},"repository":{"type":"git","url":"git+https://github.com/hypercore-skunkworks/b4a.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/hypercore-skunkworks/b4a/issues"},"homepage":"https://github.com/hypercore-skunkworks/b4a#readme","devDependencies":{"brittle":"^1.3.5","nanobench":"^2.1.1","standard":"^16.0.3"},"gitHead":"f44db2ac033070b31ac907534fe730f0a81d11d6","_id":"b4a@0.0.0","_nodeVersion":"16.11.1","_npmVersion":"8.0.0","dist":{"shasum":"30a474e9d5a71ff37f19ee68da35bf0381aa1183","size":4768,"noattachment":false,"key":"/b4a/-/b4a-0.0.0.tgz","tarball":"http://name.csiicloud.com:7001/b4a/download/b4a-0.0.0.tgz"},"_npmUser":{"name":"kasperisager","email":"kasperisager@gmail.com"},"directories":{},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/b4a_0.0.0_1634737801054_0.4702400461248659"},"_hasShrinkwrap":false,"publish_time":1634737801202,"_cnpm_publish_time":1634737801202,"_cnpmcore_publish_time":"2021-12-16T16:11:06.384Z"}},"readme":"# Buffer for Array\n\nBuffer for Array (B4A) provides a set of functions for bridging the gap between the Node.js `Buffer` class and the `Uint8Array` class. A browser compatibility layer is also included, making it possible to use B4A in both Node.js and browsers without having to worry about whether you're dealing with buffers or typed arrays.\n\n## Installation\n\n```sh\nnpm install b4a\n```\n\n## API\n\n#### `b4a.isBuffer(value)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferisbufferobj\n\nThis will also return `true` when passed a `Uint8Array`.\n\n#### `b4a.isEncoding(encoding)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferisencodingencoding\n\n#### `b4a.alloc(size[, fill[, encoding]])`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferallocsize-fill-encoding\n\n#### `b4a.allocUnsafe(size)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferallocunsafesize\n\n#### `b4a.allocUnsafeSlow(size)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferallocunsafeslowsize\n\n#### `b4a.byteLength(string)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferbytelengthstring-encoding\n\n#### `b4a.compare(buf1, buf2)`\n\nSee https://nodejs.org/api/buffer.html#static-method-buffercomparebuf1-buf2\n\n#### `b4a.concat(buffers[, totalLength])`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferconcatlist-totallength\n\n#### `b4a.copy(source, target[, targetStart[, sourceStart[, sourceEnd]]])`\n\nSee https://nodejs.org/api/buffer.html#bufcopytarget-targetstart-sourcestart-sourceend\n\n#### `b4a.equals(buf1, buf2)`\n\nSee https://nodejs.org/api/buffer.html#bufequalsotherbuffer\n\n#### `b4a.fill(buffer, value[, offset[, end]][, encoding])`\n\nSee https://nodejs.org/api/buffer.html#buffillvalue-offset-end-encoding\n\n#### `b4a.from(array)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferfromarray\n\n#### `b4a.from(arrayBuffer[, byteOffset[, length]])`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length\n\n#### `b4a.from(buffer)`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferfrombuffer\n\n#### `b4a.from(string[, encoding])`\n\nSee https://nodejs.org/api/buffer.html#static-method-bufferfromstring-encoding\n\n#### `b4a.includes(buffer, value[, byteOffset][, encoding])`\n\nSee https://nodejs.org/api/buffer.html#bufincludesvalue-byteoffset-encoding\n\n#### `b4a.indexOf(buffer, value[, byteOffset][, encoding])`\n\nSee https://nodejs.org/api/buffer.html#bufindexofvalue-byteoffset-encoding\n\n#### `b4a.lastIndexOf(buffer, value[, byteOffset][, encoding])`\n\nSee https://nodejs.org/api/buffer.html#buflastindexofvalue-byteoffset-encoding\n\n#### `b4a.swap16(buffer)`\n\nSee https://nodejs.org/api/buffer.html#bufswap16\n\n#### `b4a.swap32(buffer)`\n\nSee https://nodejs.org/api/buffer.html#bufswap32\n\n#### `b4a.swap64(buffer)`\n\nSee https://nodejs.org/api/buffer.html#bufswap64\n\n#### `b4a.toBuffer(buffer)`\n\nConvert a buffer to its canonical representation. In Node.js, the canonical representation is a `Buffer`. In the browser, the canonical representation is a `Uint8Array`.\n\n#### `b4a.toString(buffer, [encoding[, start[, end]]])`\n\nSee https://nodejs.org/api/buffer.html#buftostringencoding-start-end\n\n#### `b4a.write(buffer, string[, offset[, length]][, encoding])`\n\nSee https://nodejs.org/api/buffer.html#bufwritestring-offset-length-encoding\n\n#### `b4a.writeDoubleLE(buffer, value[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufwritedoublelevalue-offset\n\n#### `b4a.writeFloatLE(buffer, value[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufwritefloatlevalue-offset\n\n#### `b4a.writeUInt32LE(buffer, value[, offset])`\n\nhttps://nodejs.org/api/buffer.html#bufwriteuint32levalue-offset\n\n#### `b4a.writeInt32LE(buffer, value[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufwriteint32levalue-offset\n\n#### `b4a.readDoubleLE(buffer[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufreaddoubleleoffset\n\n#### `b4a.readFloatLE(buffer[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufreadfloatleoffset\n\n#### `b4a.readUInt32LE(buffer[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufreaduint32leoffset\n\n#### `b4a.readInt32LE(buffer[, offset])`\n\nSee https://nodejs.org/api/buffer.html#bufreadint32leoffset\n\n## License\n\nISC\n","_attachments":{},"homepage":"https://github.com/holepunchto/b4a#readme","bugs":{"url":"https://github.com/holepunchto/b4a/issues"},"license":"ISC"}