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

13 lines (8 loc) 220 B
'use strict'; /* globals lockdown */ // requiring ses exposes "lockdown" on the global require('ses'); // lockdown freezes the primordials lockdown({ errorTaming: 'unsafe' }); // initialize the module require('./');