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

3 lines (2 loc) 79 B
require('../../modules/es7.math.deg-per-rad'); module.exports = Math.PI / 180;