luhn-validator-x
v1.0.2
Published
Luhn algorithm javascript
Downloads
3
Readme
luhn-validator
Luhn algorithm for nodejs
Installation
npm i ng-luhn-validator-x
Usage
const luhn = require('luhn-validator-x');
luhn.luhnValidate('1234567890123456'); // return false
luhn.luhnValidate('5233756540063299'); // return true