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

8 lines (7 loc) 167 B
'use strict'; // 21.1.3.25 String.prototype.trim() require('./_string-trim')('trim', function ($trim) { return function trim() { return $trim(this, 3); }; });