crc-universal
Universal wrapper for libcrc with a JavaScript fallback
Last updated a month ago by GitHub Actions .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ npm install crc-universal 
SYNC missed versions from official npm registry.

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

Apache 2.0

Current Tags

  • 1.0.5                                ...           latest (a month ago)

6 Versions

  • 1.0.5                                ...           a month ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 16
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 3
Last Month 6
Dependencies (0)
None
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE