1.0.3 • Published 6 years ago

mry-card-validator v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

Credit Card Validator

A library to check if a credit card is valid using the Luhn Algorithm.

Requirements

Installation and use

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

Roadmap

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.