New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@tsxper/crc32

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsxper/crc32

Calculates unsigned CRC32.

  • 1.0.5
  • npm
  • Socket score

Version published
Maintainers
1
Created

CRC32

Cycle Redundancy Check 32.

Calculates unsigned CRC32 32 bit checksum for 0x04C11DB7 polynomial.

Browser and NodeJS compatible.

TypeScript type definitions are included.

Transitive Dependencies

None.

Example

const crc32 = new CRC32();
crc32.calculate('crc32 test'); // 2980580467

Supporting CommonJS and ECMAScript modules

Both, CommonJS and ESM modules are supported.

import { CRC32 } from '@tsxper/crc32';
// or
const { CRC32 } = require('@tsxper/crc32');

Supporting of the both module systems is done through "import", "require" and "default" conditions.

Conditional exports, NodeJS.

Package exports, Webpack.

Keywords

FAQs

Package last updated on 29 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts