fast-crc32

1.0.1 • Public • Published

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)));

Package Sidebar

Install

npm i fast-crc32

Weekly Downloads

1

Version

1.0.1

License

ISC

Last publish

Collaborators

  • v6