JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 202
  • Score
    100M100P100Q89563F
  • License MIT

Calculate CRC64/XZ hashes for NodeJS.

Package Exports

  • crc64-ecma
  • crc64-ecma/dist/index.js

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 (crc64-ecma) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

crc64-ecma

Calculate CRC64/XZ hashes for NodeJS.

The module name is crc64-ecma but it uses the CRC64/XZ algorithm.

Installation

npm install crc64-ecma

Usage

import { crc64 } from 'crc64-ecma';

const data = 'Hello';
const crc = crc64(data);
// Output: 51cf5c3bc87bacc8
console.log(crc.toString(16));

License

MIT