crc-universal

1.0.4 • Public • Published

crc-universal

Universal wrapper for https://github.com/holepunchto/libcrc with a JavaScript fallback.

npm install crc-universal

Usage

const { crc32 } = require('crc-universal')

const crc = crc32(Buffer.from('hello world'))
// 0xd4a1185

API

const crc = crc32(buffer)

Compute the CRC32 of the given buffer.

License

ISC

Readme

Keywords

none

Package Sidebar

Install

npm i crc-universal

Weekly Downloads

1,996

Version

1.0.4

License

ISC

Unpacked Size

4.64 kB

Total Files

6

Last publish

Collaborators

  • mafintosh
  • kasperisager