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