JSPM

fast-crc32

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q51335F
  • License ISC

Convenience methods to use sse4_crc32 module

Package Exports

  • fast-crc32

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fast-crc32) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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