{"_id":"crc32-universal","_rev":"1284639","name":"crc32-universal","description":"CRC32 slice-by-16 implementation in JS with an optional native binding to speed it up even futher","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"mafintosh","email":""}],"time":{"modified":"2021-10-19T10:51:04.000Z","created":"2021-08-04T11:28:31.554Z","1.0.1":"2021-08-04T11:28:31.554Z"},"users":{},"author":{"name":"Mathias Buus","url":"@mafintosh"},"repository":{"type":"git","url":"git+https://github.com/mafintosh/crc32-universal.git"},"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":{"shasum":"d219740b381c97162560838ae9b2adbf225439d4","size":467588,"noattachment":false,"key":"/crc32-universal/-/crc32-universal-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/crc32-universal/download/crc32-universal-1.0.1.tgz"},"_npmUser":{"name":"mafintosh","email":"mathiasbuus@gmail.com"},"directories":{},"maintainers":[{"name":"mafintosh","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crc32-universal_1.0.1_1628076511398_0.30962760381025833"},"_hasShrinkwrap":false,"publish_time":1628076511554,"_cnpm_publish_time":1628076511554}},"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","_attachments":{},"homepage":"https://github.com/mafintosh/crc32-universal","bugs":{"url":"https://github.com/mafintosh/crc32-universal/issues"},"license":"MIT"}