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

19 lines (18 loc) 490 B
angular. module("sprintf", []). filter("sprintf", function() { return function() { return sprintf.apply(null, arguments) } }). filter("fmt", ["$filter", function($filter) { return $filter("sprintf") }]). filter("vsprintf", function() { return function(format, argv) { return vsprintf(format, argv) } }). filter("vfmt", ["$filter", function($filter) { return $filter("vsprintf") }])