slow-luhn
Calculate or validate Luhn algorithm
Usage
const luhn = ;; // true; // false; // 4
Method
Luhn(checkString, [getChecksumDigit = false]);
+ If getChecksumDigit is true, return (Number) checksum
+ Else return result Luhn test checkString
Calculate or validate Luhn algorithm
const luhn = ;; // true; // false; // 4
Luhn(checkString, [getChecksumDigit = false]);
+ If getChecksumDigit is true, return (Number) checksum
+ Else return result Luhn test checkString
npm i slow-luhn
1
1.0.0
ISC
2.46 kB
4