A library to check if a credit card is valid using the Luhn Algorithm.
You can easily install this library using npm just as it follows:
$ npm install mry-card-validator
And you can use it just as easily with Node.js:
$ node
> const library = require('mry-card-validator')
> library.cardValidator(36490102462661)
> // true
Version 1.0.3
- Returns
true
if a credit card is valid;false
if it's not. - Removes minor bugs.
Version 1.0.2
- Removes validation bugs.
Version 1.0.1
- Removes minor bugs.
Version 1.0.0
- Returns
true
if a credit card is valid;false
if it's not.