Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gabyfutemma/cardvalidator-gf

Laboratoria - Sprint 4 - Final Product: a library to validate credit cards using Mocha, Chai and NYC
https://github.com/gabyfutemma/cardvalidator-gf

chai javascript mocha npm npm-package nyc

Last synced: about 1 month ago
JSON representation

Laboratoria - Sprint 4 - Final Product: a library to validate credit cards using Mocha, Chai and NYC

Awesome Lists containing this project

README

        

# Credit Card Validator
**This library intended is validate a card number.**

In current version validate if card number is valid or invalid.

## The methods of this library are:
#### **cardValidator(cardnumber);**

Example:

```
$node
> let cardLib = require("gf-card-validator-lib")
> cardLib.cardValidator(36490102462661); //true
```

## Version 1.0.2 (released)
- Add devDependencies;

## Version 1.0.1
- Functions refactored;

## Version 1.0.0
- Functionalities: validate a card number;
- Return if the number is valid (true) or invalid (false);

## Installation
- You must have node + npm installed.
- Installation Guide, visit the [official site](https://www.npmjs.com/get-npm).
- Proceed installation `$npm install gf-card-validator-lib`

## Roadmap of project
**version 2.0.0**
- README in pt_br;

**version 1.0.0 (released)**
- Functionalities: validate a card number and return if is true or false;