andreiabal-creditcard-lib
A JS library for validate credit card numbers.
Last updated 2 years ago by andreiabal .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install andreiabal-creditcard-lib 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

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

Copyright 2014 - 2016 © taobao.org |