crc-universal
Universal wrapper for libcrc with a JavaScript fallback
Last updated 2 years ago by kasperisager .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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

ISC

Current Tags

  • 1.0.4                                ...           latest (2 years ago)

5 Versions

  • 1.0.4                                ...           2 years ago
  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |