UNPKG

luhn-generator

Version:

A generator of numbers that passes the validation of Luhn algorithm or Luhn formula, also known as the 'modulus 10' or 'mod 10' algorithm

15 lines (13 loc) 209 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { y: 1 << 0, n: 1 << 1, a: 1 << 2, p: 1 << 3, u: 1 << 4, x: 1 << 5, d: 1 << 6 };