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.
mendelsphotography / credit-card-checker Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mendelgordon/credit-card-checker
Simple-Credit-Card-Checker-Validator In js With Comments
Home Page: https://mendelgordon.github.io/credit-card-checker