{"name":"unslab","version":"1.3.0","description":"Unslab some slab'ed buffers","main":"index.js","dependencies":{"b4a":"^1.6.6"},"devDependencies":{"brittle":"^3.5.2","standard":"^17.1.0"},"scripts":{"test":"standard && brittle test.js"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/unslab.git"},"author":{"name":"Holepunch"},"license":"Apache-2.0","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"homepage":"https://github.com/holepunchto/unslab","_id":"unslab@1.3.0","gitHead":"56642ff4ae5ab6949d1b52f3986cd594d96def9b","_nodeVersion":"20.11.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-YATkfKAFj47kTzmiQrWXMyRvaVrHsW6MEALa4bm+FhiA2YG4oira+Z3DXN6LrYOYn2Y8eO94Lwl9DOHjs1FpoQ==","shasum":"6b5c21c873f2adc34ac10475438344f51f681988","tarball":"http://registry-npm.ywwl.com/unslab/download/unslab-1.3.0.tgz","fileCount":4,"unpackedSize":13312,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFjtOF/1iMT8Tiyx3NpI80jc1OUyijRWErZoXlGeKdvxAiEAylTnx8QW48TO5fRR1PNXmOHiOzxxHYBnVW1MT8mCKVg="}],"size":4878,"noattachment":false,"key":"/unslab/-/unslab-1.3.0.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unslab_1.3.0_1722265851094_0.08936897114359166"},"_hasShrinkwrap":false,"readme":"# unslab\n\nUnslab some slab'ed buffers\n\n```\nnpm install unslab\n```\n\n## Usage\n\n``` js\nconst unslab = require('unslab')\n\n// the buf returned unpools the buffer passed from the memory slab\nconst buf = unslab(Buffer.from('hello world'))\n\n// can do multiple at the same time if you use them together. only does a single alloc in this case\nconst [a, b] = unslab([Buffer.from('hello'), Buffer.from('world')])\n```\n\n## License\n\nApache-2.0\n","publish_time":1722265851263,"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_cnpm_publish_time":1722265851263,"dist-tags":{"latest":"1.3.1"}}