A fast Luhn algorithm for validating credit cards. Adapted from ShirtlessKirk's popular gist.
$ npm install fast-luhn
Returns true
/false
depending on whether the Luhn checksum is valid
Required
Type: string
A credit card number.
MIT © Ben Drucker