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

14 lines (11 loc) 349 B
/** * @fileoverview JSON reporter * @author Burak Yigit Kaya aka BYK */ "use strict"; //------------------------------------------------------------------------------ // Public Interface //------------------------------------------------------------------------------ module.exports = function(results) { return JSON.stringify(results); };