{"_id":"crc32-universal","_rev":"1-394cb8f2509acf3d332bc4e02b3d5af0","name":"crc32-universal","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.1":{"name":"crc32-universal","version":"1.0.1","description":"CRC32 slice-by-16 implementation in JS with an optional native binding to speed it up even futher","main":"index.js","browser":"./crc32.js","dependencies":{"node-gyp-build":"^4.2.3"},"devDependencies":{"napi-macros":"^2.0.0","prebuildify":"^4.2.0","tape":"^5.3.0"},"scripts":{"prebuild":"prebuildify --napi --strip --cwd=native --out=.","prebuild-ia32":"prebuildify --napi --strip --cwd=native --out=. --arch=ia32","test":"tape test.js"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/crc32-universal.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"license":"MIT","bugs":{"url":"https://github.com/mafintosh/crc32-universal/issues"},"homepage":"https://github.com/mafintosh/crc32-universal","gitHead":"5f1f36b4a5047f017ee5230408e46d95204ec80c","_id":"crc32-universal@1.0.1","_nodeVersion":"16.1.0","_npmVersion":"6.14.13","dist":{"integrity":"sha512-s5aeEG79zDRscFoDVtcsWNNSLrpRk9PVINTGIBtRW/wGWYw1tJiSrpNo7yTxokJcbg6SvYgy/NHlMxlyuBL1pg==","shasum":"d219740b381c97162560838ae9b2adbf225439d4","tarball":"https://registry.npmjs.org/crc32-universal/-/crc32-universal-1.0.1.tgz","fileCount":15,"unpackedSize":1250612,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCnnfCRA9TVsSAnZWagAAKa8P/3v5FF1tbthFvPNhjTXV\n5iYo6+W24cblnOdkcS1fb//mV2KGB942XwtlsQffBz/5xY1qiRuOTtI0FphG\nCyaxKbK20cFUMganrIgGrHuiHMXdg2DqY7G1uIN+EKOzoKxttWc+wXLX8yAP\nHz6mclZac5TeXItIiaKaBe5Bki8zjT48MTGViLvSFje+38agl1OWnXo7yX54\nrN5uWcA+OL2Il1A/Mh2Wc7DHbOTpRFJsZMGdFFlTJlqSW4DZrHqfS1sRPQOD\nTcwNBQqEwwQmtW+m/hv0+dWhkF6aX9Uf6z6jFVDbPkPRvqsN/GIy1v5Iviqm\nT+5WyjSm0NUCfQ4ANq9il9T+QH111hL9KCxC5E5YEqwoU/Bn6LK4Mq1P1ubu\nFEsrUiRRKw17HNTcvEJTKUXUxdKJ6Clgzakfvh5yH9ZztLdq9cr11z+YzA6z\nSdoeS5IEb3MPmnYIckU8vmJ6QgLAl7GTpCSgHDQqr5wg3rNzyuJqT+I5ja3A\ncvGDps/zp2ikDj0ntiB/EjaTo15uaE5/E88htX/286D14B12rp8yr2GmSNFa\n3ii1t63XlIpd4aC2AGDzoodgqSk8Fc8PSOTTwcPzp7RD4i8l2dUeBbaFTYXy\nWj8IB37UzXOEqTeUaZpzlfV0MgkH6t+RF4+BUx1QRBjI1G3OoQW8DF1hhBAZ\nyykY\r\n=6c5G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC23iobFW5WbmnVv2LeUVyVGCvrA8pxnB1RBNUE1ZzrTAiBG+RxJirF4EEwc9pPOB84r4DpktoAw7JkmAW8WWOZe2A=="}]},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crc32-universal_1.0.1_1628076511398_0.30962760381025833"},"_hasShrinkwrap":false}},"time":{"created":"2021-08-04T11:28:31.398Z","1.0.1":"2021-08-04T11:28:31.554Z","modified":"2022-04-27T19:57:50.499Z"},"maintainers":[{"name":"mafintosh","email":"mathiasbuus@gmail.com"}],"description":"CRC32 slice-by-16 implementation in JS with an optional native binding to speed it up even futher","homepage":"https://github.com/mafintosh/crc32-universal","repository":{"type":"git","url":"git+https://github.com/mafintosh/crc32-universal.git"},"author":{"name":"Mathias Buus","url":"@mafintosh"},"bugs":{"url":"https://github.com/mafintosh/crc32-universal/issues"},"license":"MIT","readme":"# crc32-universal\n\nCRC32 slice-by-16 implementation in JS with an optional native binding to speed it up even futher.\nWhen used with Webpack/Browserify etc, it bundles the JS version.\n\n``` js\nnpm install crc32-universal\n```\n\nJS version is provided by https://gist.github.com/101arrowz/e58695f7ccfdf74f60ba22018093edea (thank you to [@andrewosh](https://github.com/andrewosh) for finding that) and the C version is provided by https://github.com/stbrumme/crc32.\n\nFor payloads smaller than 256 bytes the JS version is always used as that's faster than context switching to C (Javascript is really fast!).\n\nPR welcome that support the SSE4/Neon optimisations for Intel/ARM for even faster speedup.\n\n## Usage\n\n``` js\nconst crc32 = require('crc32-universal')\nconst uint = crc32(Buffer.from('hello'))\nconsole.log(uint) // 907060870\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}