Skip to content

ethanburrell/Credit-Card-Validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Credit-Card-Validator

A little JS that I had to write for a client. Validates the Credit Card Number and determines the brand of the card.

Uses Luhn's Algorithm to validate the card number. Thank you to DiegoSalazar with providing me a quick, working solution to the algorithm.

Uses Regex created by regular-expressions.info to find the brand of the card.

About

A little JS that I had to write for a client. Validates the Credit Card Number and determines the brand of the card.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors