Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

andreiabal-creditcard-lib

1.0.0 • Public • Published

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.

Install

npm i andreiabal-creditcard-lib

DownloadsWeekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

608 kB

Total Files

9

Last publish

Collaborators

  • avatar