1.1.1 • Published 3 years ago

riancarlosdev-validate-credit-card v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Riancarlosdev Validate Credit Card

I searched for a long time for something in javascript that validates the credit card number and returns not only the boolean but also the image, name. As I didn't find a module with these features, so I present you this module that delivers everything that was mentioned above.

Installation

Using the npm install command:

  $ npm install riancarlosdev-validate-credit-card

Using the yarn add command:

  $ yarn add riancarlosdev-validate-credit-card

Features

  • Valid credit card number

Quick Start

Here is all the functions this module has to offer.

import { riancarlosdev } from "riancarlosdev-validate-credit-card";

const card = riancarlosdev.executeCC("123456789"); // false

const card2 = riancarlosdev.executeCC("4444555566667777"); // { name: 'Visa', image: 'https://i.ibb.co/F3L5jkq/visa.jpg' }
1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago