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

9 lines (8 loc) 233 B
{ "rules": { // disabled because I find it tedious to write tests while following this rule "no-shadow": 0, // tests uses `t` for tape "id-length": [2, {"min": 2, "properties": "never", "exceptions": ["t"]}], } }