crc-native

1.0.11 • Public • Published

crc-native

https://github.com/holepunchto/libcrc JavaScript bindings for Node.js.

npm install crc-native

Usage

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

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

API

const crc = crc32(buffer)

Compute the CRC32 of the given buffer.

License

Apache-2.0

Readme

Keywords

none

Package Sidebar

Install

npm i crc-native

Weekly Downloads

1,677

Version

1.0.11

License

Apache-2.0

Unpacked Size

395 kB

Total Files

22

Last publish

Collaborators

  • mafintosh
  • kasperisager