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
- Functionalities: return true (valid) or false (invalid) for entered credit card numbers.
installation
- you must have node + npm installed. For installation guide, visit official website.
- proceed with the installation using
$npm install andreiabal-creditcard-lib
official project roadmap
version 2.0.0 (October/2018)
- Transcribe README to Spanish.
version 1.0.0 (released)
- Functionalities: return true (valid) or false (invalid) for entered credit card numbers.