Skip to content
JS
Package

card-validator

A library for validating credit card fields

v10.0.4, 28 Jan 2026MITCommonJSTypes: Bundled
$ npm install card-validator

Key numbers

As of 25 Sept 2026
Weekly downloads
997k
+85% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 months ago
v10.0.4
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (25 Aug 2026)Low 306.4k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

996,999 downloads last week, 4,973,932 in the last month. The 12-month change of +85% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
140 in total
Latest version
10.0.4, 28 Jan 20267 months ago
First published
16 Apr 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
-

Major versions

  1. v10 first release 10.0.0, 20 Jun 2024
  2. v9 first release 9.0.0, 7 Nov 2023
  3. v8 first release 8.0.0, 21 Jul 2020
  4. v7 first release 7.0.0, 10 Jul 2020
  5. v6 first release 6.0.0, 9 Oct 2018
  6. v5 first release 5.0.0, 11 May 2018
  7. v4 first release 4.0.0, 24 Jan 2017
  8. v3 first release 3.0.0, 19 Sept 2016
  9. v2 first release 2.0.0, 11 May 2015
  10. v1 first release 1.0.0, 16 Apr 2015

Recent releases

VersionPublished
10.0.428 Jan 2026
10.0.330 Jun 2025
10.0.26 Jan 2025
10.0.120 Dec 2024
10.0.020 Jun 2024
9.1.08 Feb 2024
9.0.07 Nov 2023
8.1.111 May 2021
8.1.024 Aug 2020
8.0.021 Jul 2020
7.1.021 Jul 2020
7.0.114 Jul 2020
7.0.010 Jul 2020
6.2.06 Jun 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
118 kB
Dependencies (1)
credit-card-type
npm install card-validator

CDN

jsDelivr: 331.9k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/card-validator@10.0.4/
  • unpkghttps://unpkg.com/card-validator@10.0.4/
  • esm.shhttps://esm.sh/card-validator@10.0.4
Sources: npm registry, npm downloads API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.