luhn-mod-n-algorithm

    1.0.5 • Public • Published

    luhn-mod-n-algorithm

    GitHub Node CI Node.js Package

    Generates and calculates Luhn Mod N check values

    Code based on https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm with minimal modifications.

    Installing

    npm i luhn-mod-n-algorithm

    API

    Parameters

    Parameter Description
    codePointFromCharacter Function to obtain a code point from a character
    characterFromCodePoint Function to obtain a character from a code point
    n Base, radix or number of valid characters

    Keywords

    Install

    npm i luhn-mod-n-algorithm

    DownloadsWeekly Downloads

    19

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    5.58 kB

    Total Files

    8

    Last publish

    Collaborators

    • alfredmyers