{"_id":"@allex/crc32","_rev":"3-599caa57d878c346fbfb21e371265b5c","name":"@allex/crc32","dist-tags":{"latest":"1.0.4"},"versions":{"1.0.2":{"name":"@allex/crc32","version":"1.0.2","description":"Provide pure JS CRC32 for nodejs & browser. Supports string, Buffer, ArrayBuffer, Uint8Array","main":"lib/crc32.js","module":"lib/crc32.esm.js","browser":"lib/crc32.min.js","types":"lib/crc32.d.ts","author":{"name":"allex","email":"allex.wxn@gmail.com","url":"http://iallex.com/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/allex/crc32-js.git"},"keywords":["crc32"],"scripts":{"precommit":"npm run lint && npm test","test":"jest --coverage","unit":"jest --watch --coverage","lint":"eslint . --fix && flow","build":"npm run lint && tsc && rollup-worker -c","prepare":"npm run build"},"dependencies":{},"devDependencies":{"@babel/core":"latest","@babel/plugin-proposal-object-rest-spread":"latest","@babel/plugin-transform-runtime":"latest","@babel/preset-env":"latest","@babel/preset-flow":"latest","@babel/runtime":"latest","@hitv/plugin-proposal-class-properties":"latest","@hitv/plugin-proposal-decorators":"latest","@hitv/plugin-transform-aliases":"latest","@hitv/plugin-transform-classes":"latest","babel-core":"^6.26.3","babel-eslint":"^8.2.2","babel-jest":"^23.6.0","eslint":"^4.18.1","eslint-config-egg":"^6.0.0","eslint-plugin-flowtype":"^2.49.3","eslint-plugin-jest":"^21.12.2","flow-bin":"^0.66.0","husky":"^0.14.3","jest":"^23.6.0","rollup-plugin-babel":"beta","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-livereload":"^0.6.0","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-resolve-id":"~1.0.1","rollup-plugin-serve":"^0.4.2","rollup-plugin-typescript":"^1.0.0","rollup-worker":"next","tslib":"^1.9.3"},"jest":{"testEnvironment":"node","modulePaths":["src"],"testMatch":["**/?(*-)+(spec|test).?(m)js"],"roots":["test"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"],"transform":{".*":"babel-jest"}},"gitHead":"4470391779a20ea0b8fc4417acd2e5dc88ba91aa","bugs":{"url":"https://github.com/allex/crc32-js/issues"},"homepage":"https://github.com/allex/crc32-js#readme","_id":"@allex/crc32@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"allex","email":"allex.wxn@gmail.com"},"dist":{"integrity":"sha512-Bm+TfSMROoc/oUBFjQ3Z1zC2Bi7pi7V6wyIg8wQx+NRbju1PDzvSfNreeMRlAabIxfCyvTiPhHA1OEpqkGz4oA==","shasum":"affff7ee5887d558552f119f659030f86e5fd2ad","tarball":"https://registry.npmjs.org/@allex/crc32/-/crc32-1.0.2.tgz","fileCount":6,"unpackedSize":6628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvCtfCRA9TVsSAnZWagAAea4P/Apm5VBmKiRM/w76KLs0\n2bRJBdFYSRMqrd7CuDPr5GtjOGVhcqsaFmtq2ErigrTRwNbA4tNjfkO77yE9\nTLY+Ydefznmz5yR2Fdy4bJVbrDK905SDvcO2lApkE0FhRDJbLB5SqlRh6eBC\nDlED2Qiob9pixHKFNTKMHjca/SKaAPsyOEiinUIji1r+C3yccO+m/fh0KQSa\n142m6B5PmrRI9Baaj+vwBqQ3kkTa5kpmEu7WtSZSW+LEGegzq0+yPkkDjONE\n3+L3LRY2bX6VNnljYNsjZIVgf5Fi/6kwAbP7bUjS0xfMIWfCmeFwecLrifyH\nRz+2/gProV5t1aZujeVoFG3UOqzHYbVtSGhmlKspit3qVTFvPeeklpGz/uOu\nZZxyRgLmoK/fbMEZQ1paq3NVXeX/0mlZ25MMSAcvqge5T8bqHJ8hsV66lR01\nAXe2l9oNi8tu+vdC6xCDpcLLd80hW9LnFrfv+FB5VBBqGW1N3lwf4AfPFkZe\nH0ztyhzp6fRXH+m3g38nClAz/6VkLWXgUxWiWkvt620+SmOwMyDJLUPK6de9\nwyugEixTVJvSa6MaTep7CjdFgzp9DSfGJDcNBfPc5T6HfWSpRrc7oRPQE1sF\nN4ArgQGRR+DDdUlwFGPTq3UM3YSrTWjTBc8NulVRW2Ohb423vY618ElWNiZ/\nUKQB\r\n=Cw0j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC20niVb5PSh8dub0uchz5gNOxdWPARfCfXfoH6r6mG4QIgcmwozVdEm1WWiQKBH8aOjo2N3yep8eZxuYwWJwEBmMw="}]},"maintainers":[{"name":"allex","email":"allex.wxn@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crc32_1.0.2_1539058526400_0.9577119359411017"},"_hasShrinkwrap":false},"1.0.3":{"name":"@allex/crc32","version":"1.0.3","description":"Provide pure JS CRC32 for nodejs & browser. Supports string, Buffer, ArrayBuffer, Uint8Array","main":"lib/crc32.js","module":"lib/crc32.esm.js","browser":"lib/crc32.min.js","types":"lib/crc32.d.ts","author":{"name":"allex","email":"allex.wxn@gmail.com","url":"http://iallex.com/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/allex/crc32-js.git"},"keywords":["crc32"],"scripts":{"precommit":"npm run lint && npm test","test":"jest --coverage","unit":"jest --watch --coverage","lint":"eslint . --fix && flow","build":"npm run lint && tsc && rollup-worker -c","prepare":"npm run build"},"dependencies":{},"devDependencies":{"@babel/core":"latest","@babel/plugin-proposal-object-rest-spread":"latest","@babel/plugin-transform-runtime":"latest","@babel/preset-env":"latest","@babel/preset-flow":"latest","@babel/runtime":"latest","@hitv/plugin-proposal-class-properties":"latest","@hitv/plugin-proposal-decorators":"latest","@hitv/plugin-transform-aliases":"latest","@hitv/plugin-transform-classes":"latest","babel-core":"^6.26.3","babel-eslint":"^8.2.2","babel-jest":"^23.6.0","eslint":"^4.18.1","eslint-config-egg":"^6.0.0","eslint-plugin-flowtype":"^2.49.3","eslint-plugin-jest":"^21.12.2","flow-bin":"^0.66.0","husky":"^0.14.3","jest":"^23.6.0","rollup-plugin-babel":"beta","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-livereload":"^0.6.0","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-resolve-id":"~1.0.1","rollup-plugin-serve":"^0.4.2","rollup-plugin-typescript":"^1.0.0","rollup-worker":"next","tslib":"^1.9.3"},"jest":{"testEnvironment":"node","modulePaths":["src"],"testMatch":["**/?(*-)+(spec|test).?(m)js"],"roots":["test"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"],"transform":{".*":"babel-jest"}},"gitHead":"83783b54c7d6abbe12e879cf3bdc70f691e733d8","bugs":{"url":"https://github.com/allex/crc32-js/issues"},"homepage":"https://github.com/allex/crc32-js#readme","_id":"@allex/crc32@1.0.3","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"allex","email":"allex.wxn@gmail.com"},"dist":{"integrity":"sha512-VZl7II7MRUzINK/xXG6aZhzsygt8mVc1jGNP2xiUw01VOzIkYSHOl7su7rJDCtcFrqQ8TCR79qhuP/Lu0u2wHw==","shasum":"98cc498028a0ec896fcf00f8b588272ddaf9021f","tarball":"https://registry.npmjs.org/@allex/crc32/-/crc32-1.0.3.tgz","fileCount":6,"unpackedSize":6857,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvD1uCRA9TVsSAnZWagAAMcwP/0W+PGREsEwbvnAhTaNV\nG9TibeBmd4urRdPLvMVJ6f6GjmENS0YNroXOaMIP5K9rBYggZgC4PG3I3WQl\nidkLSu9bveYVJZ5s7qmLOA5WiHFKQAc4BtvdYrKyirGsWJKBuMvUp+YYoEHd\nnsliFrHtdzG5Ilkv+Qtf/U/xpXXkVIIKJ5Oa8skTIqwqT420FA6bydyeL9pv\nBqtUHfHV4m07HrtJBFd8kkk1mYAiZdE439PqI/FXMwBmu+OP59QShEEQSZv3\nWoG1H1bBL9YPHVAU5Mu9hfVce1qc9trt8zA9xnK9OSwvH0N7rJ6FTBXBXipb\nkg3UbCkZ3klLzddOAEjzZhHkWzniX65oS8EYmuzAcSitFPXFAYhs+Wj9kM59\nPnCpN1FwBDGq/0s7w04KiaD3PfUnnBAz/iQOiR6f+M1PGF8E3x2IFf5BTMYk\nNVL9QPI2tOkiLrlanQM6tys8+ga6aIRZqJ9SgLVucJ3H7aSlvD1QEw92NOd1\n3lI1pjKNiXapGe76lBw8do5TQcEskS6j2X6D5SFnFZHNJrtxvEGUX8vkwGJE\nhWjZKK6q6PL3cNgcmZmDQ3ZjTJZ7nRkUenGrD9EIrPrtd5Ez7NB2l8F6M8Ms\npB23q9DjnUZRQfsaFtxKrFigBcc9qxUEJbkYXwcdeg1DLG1VjBUSwmqY89qK\n8bSo\r\n=aI86\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFV+g32cU0Dn3tGqZnay7Qgy6oj1NqkP1JoVHGahj7DsAiEAom2cs4/F0kRl3REKHge2BiTBBgrm1b94lJ+/ywoEjns="}]},"maintainers":[{"name":"allex","email":"allex.wxn@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crc32_1.0.3_1539063150246_0.5335090324385163"},"_hasShrinkwrap":false},"1.0.4":{"name":"@allex/crc32","version":"1.0.4","description":"Provide pure JS CRC32 for nodejs & browser. Supports string, Buffer, ArrayBuffer, Uint8Array","main":"lib/crc32.js","jsnext:main":"lib/crc32.esm.js","module":"lib/crc32.esm.js","unpkg":"lib/crc32.min.js","combo":"lib/crc32.min.js","types":"lib/crc32.d.ts","author":{"name":"allex","email":"allex.wxn@gmail.com","url":"http://iallex.com/"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/allex/crc32-js.git"},"keywords":["crc32"],"scripts":{"precommit":"npm run lint && npm test","test":"jest --coverage","unit":"jest --watch --coverage","lint":"eslint . --fix && flow","build":"npm run lint && tsc && rollup-worker -c","prepare":"npm run build"},"dependencies":{},"devDependencies":{"@babel/core":"latest","@babel/plugin-proposal-object-rest-spread":"latest","@babel/plugin-transform-runtime":"latest","@babel/preset-env":"latest","@babel/preset-flow":"latest","@babel/runtime":"latest","@hitv/plugin-proposal-class-properties":"latest","@hitv/plugin-proposal-decorators":"latest","@hitv/plugin-transform-aliases":"latest","@hitv/plugin-transform-classes":"latest","babel-core":"^6.26.3","babel-eslint":"^8.2.2","babel-jest":"^23.6.0","eslint":"^4.18.1","eslint-config-egg":"^6.0.0","eslint-plugin-flowtype":"^2.49.3","eslint-plugin-jest":"^21.12.2","flow-bin":"^0.66.0","husky":"^0.14.3","jest":"^23.6.0","rollup-plugin-babel":"beta","rollup-plugin-flow-no-whitespace":"^1.0.0","rollup-plugin-livereload":"^0.6.0","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-replace":"^2.0.0","rollup-plugin-resolve-id":"~1.0.1","rollup-plugin-serve":"^0.4.2","rollup-plugin-typescript":"^1.0.0","rollup-worker":"next","tslib":"^1.9.3"},"jest":{"testEnvironment":"node","modulePaths":["src"],"testMatch":["**/?(*-)+(spec|test).?(m)js"],"roots":["test"],"moduleFileExtensions":["js"],"moduleDirectories":["node_modules"],"transform":{".*":"babel-jest"}},"gitHead":"afb3f89a6f4d926201c05311c86db5961d652a97","bugs":{"url":"https://github.com/allex/crc32-js/issues"},"homepage":"https://github.com/allex/crc32-js#readme","_id":"@allex/crc32@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.5.0","_npmUser":{"name":"allex","email":"allex.wxn@gmail.com"},"dist":{"integrity":"sha512-WsN3VPmX2u2DIyvYlEVXGCPeMOoaLTQFZtkJI2OI5WjQ37MFEXur/uZ4pyCC/vOmoq3uQbwdIPwONMEW02W3KA==","shasum":"4303cc924ab6af2d9f477926ca12354039db4acf","tarball":"https://registry.npmjs.org/@allex/crc32/-/crc32-1.0.4.tgz","fileCount":6,"unpackedSize":6923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyCK3CRA9TVsSAnZWagAAMJYQAIEWeODXzPkrAMcBq0uh\nSYG19MdB+yKDENZtsnTNPHw471Kxa/XBK29avrKCrtE5wPcZDPm412rbKNdi\nUmk/lMK5Qdw5f5u4Pv+6Vx9b3DUv/9TbPdmrAzFG7o2xSHbnktVVsD5wiWaR\nuq1IsZb8hGk23/qTmIRhKP+Z3Um8WdwXnEC91zwKwrqi+OtR11y/vbM3VLCi\nuIbaEFMlFUMnZ9aJrCRSq9gRZRKWAClGcf/Ldu69q83nxuqS5AjQI0l3YHGr\nEZTHbE/meq1FbXUiFmWSr4eAXN44rrCpd1bqcCu5QLAnTLqyMxtYZtnTOglp\nLqKxKQZF/MJXRp60Ii/effo0fBXMcVVsarV7kbflxWnxegXnNnIbhO1Qq4dD\nMI3jtqpbkJP4wrf98GIJ0WRDrVApVRCz9hKrqB4SMAhAQMnxab4MckJ+uH5o\n5jPwYBWw05f42gxDDFd9co9UMv4jWErBjEaEa8zor4hcbf5r7tJoR4b7qxg5\nRKA/nnD4IcKDykhQo1jxGun3GkP+RvQ0/YMjye1xvG4OFkh5cl42Z1PcOl8e\noCJYp5OnT3yQkY2Do3DvtplM4GRcwGPXf8xGiugcMLB6aYbbpN1jwMthrAvi\nz7xK7rOqRE3vfHwT+0CQbJ1pki/sdgj25c9Rh5Gi7RIhb5gYK0VRZlKhRgSl\nwOhg\r\n=Q4P6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCVJq5avVTPahSxoRQY64DmFCGY8YqsPgdh1TAsWnflIAIgJ+ToRGHrqvoyIZ+2+j1AaO6POEiTDd3UHmq2T/ywDGo="}]},"maintainers":[{"name":"allex","email":"allex.wxn@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/crc32_1.0.4_1539842742814_0.4871240713778826"},"_hasShrinkwrap":false}},"time":{"created":"2018-10-09T04:15:26.227Z","1.0.2":"2018-10-09T04:15:26.542Z","modified":"2022-04-04T13:32:13.923Z","1.0.3":"2018-10-09T05:32:30.418Z","1.0.4":"2018-10-18T06:05:42.966Z"},"maintainers":[{"name":"allex","email":"allex.wxn@gmail.com"}],"description":"Provide pure JS CRC32 for nodejs & browser. Supports string, Buffer, ArrayBuffer, Uint8Array","homepage":"https://github.com/allex/crc32-js#readme","keywords":["crc32"],"repository":{"type":"git","url":"git+https://github.com/allex/crc32-js.git"},"author":{"name":"allex","email":"allex.wxn@gmail.com","url":"http://iallex.com/"},"bugs":{"url":"https://github.com/allex/crc32-js/issues"},"license":"MIT","readme":"# @allex/crc32\n\nProvide pure JS CRC32 for nodejs & browser. Supports string, Buffer, ArrayBuffer, Uint8Array\n\n## Usage\n\n```sh\nyarn add @allex/crc32 -D\n```\n\n```js\nimport { crc32 } from '@allex/crc32'\n\nconst testBinaryFile = path.resolve(__dirname, 'files', 'me.png')\nconst arrayBuffer = fs.readFileSync(testBinaryFile);\n\ndescribe('use pure js crc32.js to test', () => {\n  test('crc32() with string, arraybuffer', () => {\n    expect(crc32('allex')).toBe(337229299);\n    expect(crc32(arrayBuffer, 'hex')).toBe('79c38e61');\n  });\n});\n```\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT)\n\n","readmeFilename":"README.md"}