{"_id":"crc-universal","_rev":"237591","name":"crc-universal","description":"Universal wrapper for libcrc with a JavaScript fallback","dist-tags":{"latest":"1.0.4"},"maintainers":[{"name":"kasperisager","email":""},{"name":"mafintosh","email":""}],"time":{"modified":"2023-03-24T16:40:07.000Z","created":"2022-08-09T09:33:25.823Z","1.0.4":"2023-03-24T14:59:00.950Z","1.0.3":"2023-03-24T14:28:21.644Z","1.0.2":"2022-09-06T14:21:15.181Z","1.0.1":"2022-08-26T12:38:32.121Z","1.0.0":"2022-08-09T09:33:25.823Z"},"users":{},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"versions":{"1.0.4":{"name":"crc-universal","version":"1.0.4","description":"Universal wrapper for libcrc with a JavaScript fallback","main":"index.js","browser":{"./index.js":"./fallback.js"},"scripts":{"test":"standard && brittle test.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"homepage":"https://github.com/holepunchto/crc-universal#readme","optionalDependencies":{"crc-native":"^1.0.3"},"devDependencies":{"brittle":"^3.1.0","standard":"^17.0.0"},"gitHead":"4021a00c669c363e363350456b10f1bedf1f5840","dependencies":{"crc-native":"^1.0.3"},"_id":"crc-universal@1.0.4","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"shasum":"8320b35d62ab30578de28232b904ef6113983b16","size":2176,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.4.tgz","tarball":"http://name.csiicloud.com:7001/crc-universal/download/crc-universal-1.0.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/crc-universal_1.0.4_1679669940764_0.9073488148258324"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-24T14:59:00.950Z","publish_time":1679669940950,"_cnpm_publish_time":1679669940950},"1.0.3":{"name":"crc-universal","version":"1.0.3","description":"Universal wrapper for libcrc with a JavaScript fallback","main":"index.js","browser":{"./index.js":"./fallback.js"},"scripts":{"test":"standard && brittle test.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"homepage":"https://github.com/holepunchto/crc-universal#readme","dependencies":{"crc-native":"^1.0.3"},"devDependencies":{"brittle":"^3.1.0","standard":"^17.0.0"},"gitHead":"5ffaa4b789ca3dcf8e981cd969508c7a82c832c4","_id":"crc-universal@1.0.3","_nodeVersion":"19.7.0","_npmVersion":"9.5.0","dist":{"shasum":"0218a0213e6a036f7d2ac6eb3ad5401772d31125","size":2169,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.3.tgz","tarball":"http://name.csiicloud.com:7001/crc-universal/download/crc-universal-1.0.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/crc-universal_1.0.3_1679668101471_0.5029119417441641"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-03-24T14:28:21.644Z","publish_time":1679668101644,"_cnpm_publish_time":1679668101644},"1.0.2":{"name":"crc-universal","version":"1.0.2","description":"Universal wrapper for libcrc with a JavaScript fallback","main":"index.js","browser":{"./index.js":"./fallback.js"},"scripts":{"test":"standard && brittle test.mjs","prebuild":"prebuildify --napi --cwd native"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"homepage":"https://github.com/holepunchto/crc-universal#readme","dependencies":{"node-gyp-build":"^4.5.0"},"devDependencies":{"brittle":"^3.1.0","napi-macros":"^2.0.0","prebuildify":"^5.0.1","standard":"^17.0.0"},"gitHead":"bb4bec0956dfb155303292c188bda809e21c4668","_id":"crc-universal@1.0.2","_nodeVersion":"18.7.0","_npmVersion":"8.16.0","dist":{"shasum":"529b62fdee6632938b89aa7214217fa47775d832","size":119703,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.2.tgz","tarball":"http://name.csiicloud.com:7001/crc-universal/download/crc-universal-1.0.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/crc-universal_1.0.2_1662474074951_0.2839220400344473"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-06T14:44:21.936Z","publish_time":1662474075181,"_cnpm_publish_time":1662474075181},"1.0.1":{"name":"crc-universal","version":"1.0.1","description":"Universal wrapper for libcrc with a JavaScript fallback","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"homepage":"https://github.com/holepunchto/crc-universal#readme","dependencies":{"crc-native":"^1.0.1"},"devDependencies":{"brittle":"^2.3.1","nanobench":"^2.1.1","standard":"^17.0.0"},"gitHead":"0db6aec2cbf5747dc95a4e32bc06bc69d07d85a4","_id":"crc-universal@1.0.1","_nodeVersion":"18.7.0","_npmVersion":"8.16.0","dist":{"shasum":"ac3e832f05e7586a5fda7f225e22e72e2282f92e","size":2177,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.1.tgz","tarball":"http://name.csiicloud.com:7001/crc-universal/download/crc-universal-1.0.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/crc-universal_1.0.1_1661517511948_0.8967327486882015"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-26T12:38:39.099Z","publish_time":1661517512121,"_cnpm_publish_time":1661517512121},"1.0.0":{"name":"crc-universal","version":"1.0.0","description":"Universal wrapper for libcrc with a JavaScript fallback","main":"index.js","browser":{"./index.js":"./browser.js"},"scripts":{"test":"standard && brittle test.mjs"},"repository":{"type":"git","url":"git+https://github.com/holepunchto/crc-universal.git"},"author":{"name":"Kasper Isager Dalsgarð","email":"kasper@funktionel.co"},"license":"ISC","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"homepage":"https://github.com/holepunchto/crc-universal#readme","dependencies":{"crc-native":"^1.0.0"},"devDependencies":{"brittle":"^2.3.1","nanobench":"^2.1.1","standard":"^17.0.0"},"gitHead":"e381ed1b1d6c6aea63908246a90960d7328e04dc","_id":"crc-universal@1.0.0","_nodeVersion":"18.7.0","_npmVersion":"8.16.0","dist":{"shasum":"3e1e0836e846ecdee00791641e9246b22eb27694","size":2177,"noattachment":false,"key":"/crc-universal/-/crc-universal-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/crc-universal/download/crc-universal-1.0.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/crc-universal_1.0.0_1660037605644_0.959079825965865"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-09T09:57:39.383Z","publish_time":1660037605823,"_cnpm_publish_time":1660037605823}},"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\nISC\n","_attachments":{},"homepage":"https://github.com/holepunchto/crc-universal#readme","bugs":{"url":"https://github.com/holepunchto/crc-universal/issues"},"license":"ISC"}