Nucleus Powered Mitochondria

    @fuknando/crc8-maxim
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.2 • Public • Published

    A cyclic redundancy check (CRC) node module.
    It supports crc8 MAXIM algorithm.

    Acknowledgement

    This a library was cloned from easy-crc library. It was modified for a specific use of one of the CRC-8 Algorithm.

    Installation

    npm install @fuknando/crc8-maxim
    yarn add @fuknando/crc8-maxim
    

    Usage

    import { crc8 } from '@fuknando/crc8-maxim';
    
    // CRC8
    let data = 'AA5503005012';
    let checksum = crc8(data);
    
    console.log(checksum);// "0A"

    Available algorithms

    CRC8

    • MAXIM

    Keywords

    Install

    npm i @fuknando/crc8-maxim

    DownloadsWeekly Downloads

    1

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    5.93 kB

    Total Files

    9

    Last publish

    Collaborators

    • fuknando