1.0.1 • Published 8 years ago

fast-crc32 v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

fast-crc32 Build status npm version Dependency Status

Installation

npm install fast-crc32 --save

Usage

const crc32 = require('fast-crc32'),
      http  = require('http');

http.get('http://example.com',
    response => crc32.calculateFromStream(response)
        .then(checksum => console.log('CRC32C: ' + checksum.toString(16)))
        .catch(error => console.error('Unable to calculate CRC32C', error)));