node-luhn
v1.0.0
Published
A Luhn (mod 10) algorithm module for credit card number validation.
Downloads
2,388
Maintainers
Readme
node-luhn
A Luhn (mod 10) algorithm module for credit card number validation.
Install
$ npm install --save node-luhn
or:
$ component install chrisbuttery/luhn
Usage
var isLuhn = require('node-luhn')
isLuhn('4111111111111111')
//=> true
License
MIT © Chris Buttery