PawelDecowski/jquery-creditcardvalidator
PawelDecowski/jquery-creditcardvalidator has 1,067 GitHub stars and 278 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-09 10:44 UTC. Last push 2023-02-01.
jQuery credit card validation and detection plugin
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginaljQuery Credit Card Validator
jQuery Credit Card Validator detects and validates credit card numbers. It’ll tell you the detected credit card type and whether the number length and Luhn checksum are valid for the type of card.
Installation
NPM
npm i jquery-creditcardvalidator
Download
Download the latest jquery.creditCardValidator.js.
The latest stable version is always in the master branch. If you need previous versions, you’ll find them on the releases page.
Do not use any branches other than master. Branches starting with release/ are development branches and they will most likely be broken.
How to use
Run validation every time a field value changes:
$('#cc_number').validateCreditCard(function(result) {
if (result.valid) {
$(this).addClass('cc-valid');
} else {
$(this).removeClass('cc-valid');
}
});
Run validation once:
const result = $('#cc_number').validateCreditCard();
if (result.valid) {
$(this).addClass('cc-valid');
} else {
$(this).removeClass('cc-valid');
}
Documentation
For full documentation see the jQuery Credit Card Validator website.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,398 starspublic-apis/public-apis
A collective list of free APIs
497,679 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
447,495 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,261 stars