# PawelDecowski/jquery-creditcardvalidator

jQuery credit card validation and detection plugin

Repository: https://github.com/PawelDecowski/jquery-creditcardvalidator
Canonical: https://ross.abutalabs.com/products/jquery-creditcardvalidator
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-02-01T22:33:03+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5309, "days_push": 1309, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1068, forks 279 (observed 2026-08-28T04:03:27.405354+00:00)

## What it is
A jQuery plugin that detects credit card types and validates card numbers using length and Luhn checksum checks. It runs validation on form fields as values change or on demand, returning the detected card type and validity.

## Use cases
- validate credit card numbers in a payment form
- detect whether a card number is Visa, Mastercard, Amex, or Discover
- check Luhn checksum validity of a card number as the user types
- add visual feedback classes to card input fields based on validity
- validate card numbers before submitting an order form

## When to choose
- you have a jQuery-based checkout or payment form needing client-side card validation
- you want lightweight card type detection and Luhn validation without a full payment SDK
- you need real-time validation feedback on a card number input

## When to avoid
- your project does not use jQuery
- you need actual payment processing or card tokenization (use Stripe/Braintree instead)
- you need server-side validation or PCI-compliant handling
- you need validation of modern card schemes beyond the supported set

## Facets
- artifact type: plugin
- maturity: maintenance
- function: form-handling
- domain: web-development, frontend, fintech
- platform: browser
- tags: jquery-plugin, credit-card-validation, luhn-check, payment-forms, card-type-detection, nodejs, javascript

## Member repositories
- PawelDecowski/jquery-creditcardvalidator (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:27.405354+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:54:40.951531+00:00, confidence not recorded.
  - readme: https://github.com/PawelDecowski/jquery-creditcardvalidator (fetched 2026-08-28T04:03:27.405354+00:00, sha 6a9f3e9ed886)
  - registry_npm: https://registry.npmjs.org/jquery-creditcardvalidator (fetched 2026-08-29T12:56:44.470563+00:00, sha d0e5a3a73ce7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
