{"_id":"unslab","_rev":"6-339e4cb720ea466637b4751e9a74fd60","name":"unslab","dist-tags":{"latest":"1.3.1"},"versions":{"0.0.0":{"name":"unslab","version":"0.0.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"unslab@0.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/unslab","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"6a003cb1a0c697510a837ba722f90a22f12171b1","tarball":"https://registry.npmjs.org/unslab/-/unslab-0.0.0.tgz","fileCount":7,"integrity":"sha512-f5aWx+5sudpCKTsl8aora5DGlV/3VLr/EwKEcQ81F6j/SuzlKExWXY83+CPg4TKgfkTD6lPD7VJgL8IWy8OP8Q==","signatures":[{"sig":"MEUCIQDe/gnXP7b9yT0eUb2IfUfL9pXp4i5ysFKgxOryJSIJhgIgQ93hRkKRhoCxywmdpeFk9lM37mpYOLQkXqFuX2juqxw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14029},"main":"index.js","gitHead":"4fb247e3c1a5a0b24b9c7fe305ac601935a21e23","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"10.7.0","description":"Unslab some slab'ed buffers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.2"},"_npmOperationalInternal":{"tmp":"tmp/unslab_0.0.0_1716809199540_0.6845416403249545","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"unslab","version":"1.0.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"unslab@1.0.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/unslab","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"5c6a7aa4ebcd6fb16b97500ec0c6f8d93ee82da2","tarball":"https://registry.npmjs.org/unslab/-/unslab-1.0.0.tgz","fileCount":4,"integrity":"sha512-2VeDd9wkYtOtFZ085tLGHl+SvzQ3TSiUNBHWMw1gCi9J/nbMoiXKUOjdk48Ac+SbXI4ao8YsUfxzvOAyl3RrPw==","signatures":[{"sig":"MEUCIHEjK+nsBJKSHJG/lulaOsJoYr2g84V950a6gkFh0/WWAiEA3nv4ikQ3U6Oysun1PUSTFvdYPQTCCl7r2R0n608dolo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":12960},"main":"index.js","gitHead":"20116ba19dd408f505ce1ad842562bc708df8dd8","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"10.7.0","description":"Unslab some slab'ed buffers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.2","standard":"^17.1.0"},"_npmOperationalInternal":{"tmp":"tmp/unslab_1.0.0_1716809606669_0.35589924721519806","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"unslab","version":"1.1.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"unslab@1.1.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/unslab","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"769ef3ef7e9da347d428d0879a23583f16052096","tarball":"https://registry.npmjs.org/unslab/-/unslab-1.1.0.tgz","fileCount":4,"integrity":"sha512-zzywHfRtqOmiCm7F2JlOiIZxcdrp9nr/zl3eSVOoGEL3suhP7Ennp/frU5KJC+QQFcITpn932TJkcwfz14qagw==","signatures":[{"sig":"MEUCIQD6PeYDfon/3v1r6R1YtgJICTzIX+X/IPfMybwaWPAKpQIgStz2qHMznm0YFALyGzWadUo+zIsH6z7GskRG8S+gYic=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13264},"main":"index.js","gitHead":"dc21b82a1064ce1e223bb2856a0fa208f0713ca8","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"10.7.0","description":"Unslab some slab'ed buffers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.2","standard":"^17.1.0"},"_npmOperationalInternal":{"tmp":"tmp/unslab_1.1.0_1716811890012_0.1145396808924466","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"unslab","version":"1.2.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"unslab@1.2.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/unslab","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"5e5194658d5ce396fbbd8caf34f674bb92dde8e9","tarball":"https://registry.npmjs.org/unslab/-/unslab-1.2.0.tgz","fileCount":4,"integrity":"sha512-VDhUt6dP/pMcisarj64YBmBhiTIcXmpPgRMP7ZoJRCnBdpoPZ+SahMEqwu2VwTuwGEth61F2UGP29ksOidRF6g==","signatures":[{"sig":"MEQCIG+wO2GZO6cog2r2tagnzjE5GhNOcWFyi/ChRlYRY1mfAiAv7EuJDU7KhvHmzH/tHHxGrkpvu6W60WxtOFQYWAWtqg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13296},"main":"index.js","gitHead":"16bbbc7de3908145064c276255f4950985d6cc7c","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"10.7.0","description":"Unslab some slab'ed buffers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.2","standard":"^17.1.0"},"_npmOperationalInternal":{"tmp":"tmp/unslab_1.2.0_1716821642500_0.2672395263912841","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"unslab","version":"1.3.0","author":{"name":"Holepunch"},"license":"Apache-2.0","_id":"unslab@1.3.0","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"homepage":"https://github.com/holepunchto/unslab","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"6b5c21c873f2adc34ac10475438344f51f681988","tarball":"https://registry.npmjs.org/unslab/-/unslab-1.3.0.tgz","fileCount":4,"integrity":"sha512-YATkfKAFj47kTzmiQrWXMyRvaVrHsW6MEALa4bm+FhiA2YG4oira+Z3DXN6LrYOYn2Y8eO94Lwl9DOHjs1FpoQ==","signatures":[{"sig":"MEUCIFjtOF/1iMT8Tiyx3NpI80jc1OUyijRWErZoXlGeKdvxAiEAylTnx8QW48TO5fRR1PNXmOHiOzxxHYBnVW1MT8mCKVg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13312},"main":"index.js","gitHead":"56642ff4ae5ab6949d1b52f3986cd594d96def9b","scripts":{"test":"standard && brittle test.js"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"10.7.0","description":"Unslab some slab'ed buffers","directories":{},"_nodeVersion":"20.11.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"brittle":"^3.5.2","standard":"^17.1.0"},"_npmOperationalInternal":{"tmp":"tmp/unslab_1.3.0_1722265851094_0.08936897114359166","host":"s3://npm-registry-packages"}},"1.3.1":{"_id":"unslab@1.3.1","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"501eaf2390070d1ae6b2d98be55ca109bf71edb0","tarball":"https://registry.npmjs.org/unslab/-/unslab-1.3.1.tgz","fileCount":4,"integrity":"sha512-iQ2ffc3KLZF89Mhvc+5zW3ZyWaAGWrxQHw6vznO9Bw15AHhEDF5Q07WcbkMS4eeS13wUoHL2E0LGl+qPbAOWrw==","signatures":[{"sig":"MEQCIDWjanG2pWaqMEc+sP/JGVqdiJgL37itewiLVnVGhNuCAiA83/pkNeI5kowbGd+5FKirxBNwGT07eHeobmAEsf2y/A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHq4hX3Bs+9jY7Di0oApGPGM49h991AY8Pnz3NZlqY5FAiEAtiNCK2xdV+Aqzw33HsshXKfsBcQTEUqnR9qBAXX0hJ8="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unslab@1.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":13447},"main":"index.js","name":"unslab","author":{"name":"Holepunch"},"gitHead":"b57a99d0cae2821e25e1d9b4f7e89bb20c278f0f","license":"Apache-2.0","scripts":{"lint":"prettier --check . && lunte","test":"brittle-node test.js","format":"prettier --write ."},"version":"1.3.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"5ee22b3a-0be9-4a07-8d85-8dac677dbe62"}},"homepage":"https://github.com/holepunchto/unslab","repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"_npmVersion":"11.19.1","description":"Unslab some slab'ed buffers","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_nodeVersion":"24.22.1","dependencies":{"b4a":"^1.6.6"},"_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.0.0","brittle":"^3.5.2","prettier":"^3.6.2","prettier-config-holepunch":"^2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/unslab_1.3.1_1793078644523_0.057149489004705956"}}},"time":{"created":"2024-05-27T11:26:39.539Z","modified":"2026-10-27T05:24:05.115Z","0.0.0":"2024-05-27T11:26:39.701Z","1.0.0":"2024-05-27T11:33:26.807Z","1.1.0":"2024-05-27T12:11:30.154Z","1.2.0":"2024-05-27T14:54:02.674Z","1.3.0":"2024-07-29T15:10:51.263Z","1.3.1":"2026-10-27T05:24:04.608Z"},"bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"author":{"name":"Holepunch"},"license":"Apache-2.0","homepage":"https://github.com/holepunchto/unslab","repository":{"url":"git+https://github.com/holepunchto/unslab.git","type":"git"},"description":"Unslab some slab'ed buffers","maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"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","readmeFilename":"README.md"}