A Luhn (mod 10) algorithm module for credit card number validation.
$ npm install --save node-luhn
or:
$ component install chrisbuttery/luhn
var isLuhn = require('node-luhn')
isLuhn('4111111111111111')
//=> true
MIT © Chris Buttery
A Luhn (mod 10) algorithm module for credit card number validation.
$ npm install --save node-luhn
or:
$ component install chrisbuttery/luhn
var isLuhn = require('node-luhn')
isLuhn('4111111111111111')
//=> true
MIT © Chris Buttery