@imran001/checkcreditcard
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

About

This is a simple credit card validation program. It will check if the credit card number is valid or not. It will also check the type of credit card.

Usage

import checkCreditCard, {
  checkCreditCardType,
} from "@imran001/checkcreditcard";

console.log(checkCreditCard("4111111111111111")); // true
console.log(checkCreditCard("4111111111111")); // false

console.log(checkCreditCardType("4111111111111111")); // visa

Hire Me

Want to hire a kickass senior frontend dev?

Email me at ikhan77727@gmail.com. LinkedIn: https://www.linkedin.com/in/imrankhan001/

P.S: I excel in Remote Work Only

Package Sidebar

Install

npm i @imran001/checkcreditcard

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

15 kB

Total Files

4

Last publish

Collaborators

  • imran001