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 (14 loc) 311 B
{ "id": "non-empty-value", "evaluate": "attr-non-space-content-evaluate", "options": { "attribute": "value" }, "metadata": { "impact": "critical", "messages": { "pass": "Element has a non-empty value attribute", "fail": "Element has no value attribute or the value attribute is empty" } } }