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

10 lines (8 loc) 321 B
require('../../modules/es.json.to-string-tag'); require('../../modules/es.math.to-string-tag'); require('../../modules/es.object.to-string'); require('../../modules/es.reflect.to-string-tag'); var classof = require('../../internals/classof'); module.exports = function (it) { return '[object ' + classof(it) + ']'; };