Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gabyfutemma/cardvalidator-gf
- Owner: gabyfutemma
- Created: 2018-08-31T22:25:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-14T19:45:05.000Z (about 6 years ago)
- Last Synced: 2023-09-20T11:24:02.228Z (over 1 year ago)
- Topics: chai, javascript, mocha, npm, npm-package, nyc
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/gf-card-validator-lib
- Size: 30.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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;