Skip to content

mendelgordon/credit-card-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Credit-Card-Checker-Validator In js With Comments

How to use it

You can use this tool to validate credit card numbers based on the Luhn algorithm. Calling the validate function in main.js with a credit card number in a string will return true if the number is valid, false otherwise.

You can also go to https://mendelgordon.github.io/credit-card-checker to check card numbers online.