Skip to content
JS
Package

credit-card-type

A library for determining credit card type

v10.3.0, 30 Jun 2026MITCommonJSTypes: Bundled
$ npm install credit-card-type

Key numbers

As of 25 Sept 2026
Weekly downloads
1.2m
+56% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
2 months ago
v10.3.0
GitHub stars
1k
155 forks
Open issues / PRs
5 / 8
Contributors
-
Commits, last 52 weeks
29

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.8m (25 Aug 2026)Low 422.6k (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.

1,196,976 downloads last week, 5,672,427 in the last month. The 12-month change of +56% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
335 in total
Latest version
10.3.0, 30 Jun 20262 months ago
First published
16 Apr 2015
Last push to GitHub
16 Sept 20268 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
8
Commits, last 52 weeks
29
Dependents on npm
-

Major versions

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

Recent releases

VersionPublished
10.3.030 Jun 2026
10.2.08 Jun 2026
10.1.228 Jan 2026
10.1.04 Aug 2025
10.0.217 Dec 2024
10.0.118 Jun 2024
10.0.07 Nov 2023
9.1.020 Oct 2020
9.0.124 Jul 2020
9.0.010 Jul 2020
8.3.06 Sept 2019
8.2.03 Apr 2019
8.1.024 Jan 2019
8.0.09 Oct 2018
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
58 kB
Dependencies (0)
None
npm install credit-card-type

CDN

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

Indexability: Not indexed (discovery only): no category.