{"_id":"unslab@1.3.1","bugs":{"url":"https://github.com/holepunchto/unslab/issues"},"dist":{"shasum":"501eaf2390070d1ae6b2d98be55ca109bf71edb0","tarball":"http://registry-npm.ywwl.com/unslab/download/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,"size":4931,"noattachment":false,"key":"/unslab/-/unslab-1.3.1.tgz"},"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"},"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":1793078644608,"_cnpm_publish_time":1793078644608,"dist-tags":{"latest":"1.3.1"}}