mry-card-validator
A simple credit card validator using Luhn algoritm.
Last updated 2 years ago by maryfsc .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mry-card-validator 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

3 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 3
Last Day 0
Last Week 2
Last Month 4
Dependencies (3)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |