{"_id":"crc-universal@1.0.5","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"dist":{"shasum":"bf6fdf5be790006a592cf75a26581222134a2a19","tarball":"http://registry-npm.ywwl.com/crc-universal/download/crc-universal-1.0.5.tgz","fileCount":6,"integrity":"sha512-pT5dcuOepgM6YxHBq7ai5Ba9lcJyVaEdxPXY9fI9qbbkBYzej//dGfqzhTXgahS7nmXsHdDSHNVOQf7Xt79ktg==","signatures":[{"sig":"MEUCIAk2OaQh2nJZxuACFKThaB5fsOEhdxhiGdFEyuMnToXoAiEAvGuZ0fGveZdhp2OmudVzeXvgBNxp1TwgKVIpNI6otJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGfXPjVolTFkDCU9c1Sy1C9IGx5rdCOzIe3YU1ayaGjEAiAEbQputXvuZyZnv3e9xK2kbG1jRKiRhrYu2KQ3BEJMkA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/crc-universal@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":15447,"size":5608,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.5.tgz"},"main":"index.js","name":"crc-universal","author":{"name":"Holepunch"},"browser":{"./index.js":"./fallback.js"},"gitHead":"5faaab95c0624425996605567523f2b2d62d144c","license":"Apache-2.0","scripts":{"lint":"prettier --check . && lunte","test":"npm run test:node && npm run test:bare","format":"prettier --write .","test:bare":"brittle-bare --coverage test.mjs","test:node":"brittle-node --coverage test.mjs"},"version":"1.0.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"0419db35-e2bd-46c8-b8c8-34408e7d47de"}},"homepage":"https://github.com/holepunchto/crc-universal#readme","repository":{"url":"git+https://github.com/holepunchto/crc-universal.git","type":"git"},"_npmVersion":"11.19.1","description":"Universal wrapper for libcrc with a JavaScript fallback","directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_nodeVersion":"24.22.1","_hasShrinkwrap":false,"devDependencies":{"lunte":"^1.3.0","brittle":"^3.1.0","prettier":"^3.6.2","prettier-config-holepunch":"^1.0.0"},"optionalDependencies":{"crc-native":"^1.0.3"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/crc-universal_1.0.5_1793118506171_0.4716923518996591"},"readme":"# crc-universal\n\nUniversal wrapper for https://github.com/holepunchto/libcrc with a JavaScript fallback.\n\n```sh\nnpm install crc-universal\n```\n\n## Usage\n\n```js\nconst { crc32 } = require('crc-universal')\n\nconst crc = crc32(Buffer.from('hello world'))\n// 0xd4a1185\n```\n\n## API\n\n#### `const crc = crc32(buffer)`\n\nCompute the CRC32 of the given buffer.\n\n## License\n\nApache 2.0\n","publish_time":1793118506268,"_cnpm_publish_time":1793118506268,"dist-tags":{"latest":"1.0.5"}}