andreiabal / andreiabal-creditcard-lib

A JS library for validate credit card numbers.
0 stars 0 forks source link

A JS library for validate credit card numbers v.1.0.0

This library is intended for validation of credit card numbers using Luhn's algorithm.

In the current version it returns true or false for the numbers tested.

The methods used in the library are:

cardValidator(numberString);

Example of usability:

$node
> const cardValidator = require("andreiabal-creditcard-lib")
> cardValidator(5555613252427230); //'true'

version 1.0.0

installation

official project roadmap

version 2.0.0 (October/2018)

version 1.0.0 (released)