Skip to content
JS
Package

payment

A general purpose library for building credit card forms, validating inputs and formatting numbers. Base on jquery.payment by @stripe, but without the jQuery.

v2.4.7, 5 Aug 2024MITCommonJSTypes: NonePayments and commerce
$ npm install payment

Key numbers

As of 25 Sept 2026
Weekly downloads
96.2k
+37% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
2 years ago
v2.4.7
GitHub stars
584
158 forks
Open issues / PRs
9 / 9
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 138.7k (21 Jul 2026)Low 41.1k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

96,233 downloads last week, 453,194 in the last month. The 12-month change of +37% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.4.7, 5 Aug 20242 years ago
First published
-
Last push to GitHub
29 Oct 2024695 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
9
Commits, last 52 weeks
0
Dependents on npm
148

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
59 kB
Dependencies (2)
qjglobalthis
npm install payment
  • jsDelivrhttps://cdn.jsdelivr.net/npm/payment@2.4.7/
  • unpkghttps://unpkg.com/payment@2.4.7/
  • esm.shhttps://esm.sh/payment@2.4.7
PackageWeekly downloadsGzipLast releaseModuleComparison
jquery.payment7.7k-9 years agoCommonJS-
midtrans-client12k-1 year agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.