Stripe SDK
The default choice. 1st of 10 payment SDKs.
stripe is Stripe's official Node.js and TypeScript library for the Stripe API. It covers payments, subscriptions, invoicing, Connect and webhooks, and gets new releases almost every week. For a new project that uses Stripe, it is the default choice and the strongest SDK in this category.
Best for: Teams that use Stripe and want full control in code over payments, subscriptions, usage billing or marketplace payouts.
Scores
Overall9.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 9.0, likely 8.5 to 9.5
It is the default payment SDK for JS and TypeScript: complete, typed, dependency-free and updated almost every week, with a far larger ecosystem than any peer. Frequent major versions and the lack of merchant-of-record handling are the main limits. Teams that want tax handled for them may prefer Paddle or Polar.
- npm downloadsLast4Weeks: Far ahead of all peers and growing above the median
- dev.to/devtoolpicks/lemon-squeezy-vs-stripe-vs-paddle-which-should-solo-devs-use-in-2026-2jm9: Merchant-of-record alternatives suit indie sellers
- raw.githubusercontent.com/stripe/stripe-node/HEAD/CHANGELOG.md: Active, carefully versioned releases
GPT-6.2 Sol: 9.1, likely 8.1 to 9.7
Stripe is the strongest default in this group for a new JavaScript or TypeScript app that needs online checkout and subscriptions. Its typed API coverage, active maintenance, and use by independent projects carry the most weight. Merchant eligibility and the work of keeping SDK and API versions aligned account for most of the downside.
- github.com/stripe/stripe-node: Typed client, payment integration helpers, and version support policy.
- peers, dependents, github.commitsLastYear, npm.versionsLastYear: Clear lead in observed dependents and an active release cadence.
- better-auth.com/docs/plugins/stripe: Independent billing integration on the current SDK major.
- github.com/stripe/stripe-node/wiki/Migration-guide-for-v23: Recent major upgrade requires SDK and API migration review.
- stripe.com/nz/global: Merchant eligibility depends on Stripe’s country and region coverage.
Needed by many5.3
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web apps and SaaS products need to take payments, but far from every JS project does. Stripe is the processor most developers reach for, so this SDK covers most of the category's audience. It is a server-side library only.
- dev.to/devtoolpicks/lemon-squeezy-vs-stripe-vs-paddle-which-should-solo-devs-use-in-2026-2jm9: Stripe is the baseline that the alternatives are compared against
- dependents repos: 46,266 dependent repos, far more than any peer
GPT-6.2 Sol: 4.5, likely 3.3 to 5.7
Online stores, SaaS products, and marketplaces are a substantial group within JavaScript development. The SDK works across server frameworks and ships builds for Node.js, Deno, Bun, and Workers, with use limited to businesses that can operate on Stripe. Developer surveys establish how common the runtimes are, while the share of projects that need payments is harder to estimate.
- survey.stackoverflow.co/2026/technology/data: Node.js was used by 46.4% of respondents to the web technology question.
- github.com/stripe/stripe-node/blob/v23.2.0/package.json: The current package declares Node.js 20 or newer and exports for Deno, Bun, and Workers.
- stripe.com/nz/global: Stripe lists the countries and regions where businesses can use the service.
Helps a lot9.0
How well does it do the job for those who need it?
Claude Opus 5.5: 9.0, likely 8.0 to 9.5
It covers the whole Stripe API, including the V2 API, thin events and webhook helpers. It has no dependencies and its types are generated from the API spec. Stripe's documentation includes Node examples for every endpoint, and AI agents write correct code for it. Some fields are typed loosely, and type changes in minor releases keep it short of perfect.
- raw.githubusercontent.com/stripe/stripe-node/HEAD/CHANGELOG.md: V2 search, event notification handler, webhook hardening in 2026
- github.com/stripe/stripe-node/issues/1999: User report of incomplete TypeScript types needing casts
- makerkit.dev/blog/saas/polar-vs-stripe: Stripe exposes nearly every billing action through code
- npm hasTypes / dependencies: Bundled types, zero dependencies
GPT-6.2 Sol: 9.0, likely 7.8 to 9.8
Stable v23.2.0 covers hosted checkout and recurring billing, with typed requests, detailed errors, and safe retry defaults. Current examples and CLI access to the API reference give coding agents a good starting point. Expanded fields still need manual narrowing, and older API versions can diverge from the bundled types. Evidence on SDK performance and agent-generated code is thinner than the evidence on API coverage.
- github.com/stripe/stripe-node/releases/tag/v23.2.0: Confirms the stable release assessed here.
- github.com/stripe/stripe-node: Documents type coverage, API version behavior, retries, and webhook verification.
- docs.stripe.com/billing/subscriptions/overview: Documents subscription lifecycle support and integration guides.
- docs.stripe.com/error-handling?lang=node: Shows Node.js error handling for failed requests and payment events.
- docs.stripe.com/cli/docs: Provides terminal access to current examples and API references.
- github.com/stripe/stripe-node/issues/2327: Users report repeated type assertions when expanding nested checkout resources.
Holds up over time8.9
Will it still be a good choice in two years?
Claude Opus 5.5: 9.0, likely 8.5 to 9.5
A large, well-funded company maintains it, with 187 commits and 106 releases in the last year and only 39 open issues. The versioning policy is clear: each major version pins an API version. Majors come often (v22 to v23 in about three months), which costs upgrade work, but you can stay on an older pinned version.
- github releasesLastYear / commitsLastYear: 106 releases, 187 commits, pushed one day before reading
- github openIssues / closedIssues: 39 open against 969 closed
- raw.githubusercontent.com/stripe/stripe-node/HEAD/CHANGELOG.md: v23.0.0 dropped Node 18 and removed helpers
GPT-6.2 Sol: 8.7, likely 7.5 to 9.6
Stripe maintains the SDK as part of its payments business, with 187 commits and 31 npm versions in the past year. Recent GitHub releases came from two Stripe accounts, and a maintainer answered a Connect migration report the day it opened. Developers report upgrade friction, and Stripe limits fixes to the latest major, so staying supported can require migration work.
- github.commitsLastYear, github.releasesLastYear, npm.versionsLastYear: 187 commits, 106 GitHub releases including previews, and 31 npm versions.
- github.com/stripe/stripe-node/releases: Two Stripe accounts published recent stable releases.
- github.com/stripe/stripe-node/issues/2668: A same-day maintainer reply explained a breaking argument change and discussed upgrade friction.
- github.com/stripe/stripe-node/wiki/Migration-guide-for-v23: Documents breaking API and SDK changes, including V2 pagination types.
- github.com/stripe/stripe-node: The support policy limits bug and security fixes to the current major.
- stripe.com/roadmap: The public roadmap shows continued work on billing and payment APIs.
Used widely8.5
How many use it, and is that growing?
Claude Opus 5.5: 9.5, likely 9.0 to 10.0
It had 136M downloads in 4 weeks, up 7.8x on a year before against a 4.1x median. That is about 70 times the largest peer. Some downloads come from transitive and CI installs, but 46k dependent repos confirm that people choose it directly. Its lead over all peers is very large.
- npm downloadsLast4Weeks: 135.8M versus 17.4M a year ago, a 7.8x ratio
- dependents: 46,266 repos and 937 packages; the next peer has 2,636
- medianDownloadsRatio: 4.1 median, so stripe is gaining ground
GPT-6.2 Sol: 7.4, likely 6.1 to 8.5
The collector found 46,266 dependent repositories, nearly 18 times Razorpay’s count, the next highest among peers with data. Four-week downloads rose 7.8 times year over year, well above the 4.1 benchmark, although Paddle grew faster from a much smaller base. That points to strong relative momentum. Automated installs, framework dependencies, and incomplete repository coverage leave the number of direct choices uncertain.
- dependents, peers: 46,266 repositories and 937 npm packages use Stripe in the scan. Razorpay has 2,636 known dependent repositories.
- npm.downloadsLast4Weeks, npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: 135.8 million versus 17.4 million downloads gives a 7.8 ratio against a 4.1 benchmark.
- github.stars, peers: The dedicated SDK repository has 4,576 stars. Polar’s larger count covers its whole platform.
- github.com/medusajs/medusa/blob/develop/packages/modules/providers/payment-stripe/package.json: Medusa’s payment provider installs Stripe as a dependency.
Vouched for8.8
Who stands behind it being good?
Claude Opus 5.5: 9.0, likely 8.0 to 9.5
Stripe runs payments for a very large number of companies, and this is its official Node SDK. Independent 2026 comparisons treat Stripe as the reference choice for custom billing, and starter kits and auth libraries build on it. The evidence for the SDK itself, as distinct from the platform, is less direct.
- makerkit.dev/blog/saas/polar-vs-stripe: A kit vendor ships Stripe integration as the default for B2B billing
- dev.to/devtoolpicks/lemon-squeezy-vs-stripe-vs-paddle-which-should-solo-devs-use-in-2026-2jm9: Independent comparison recommends Stripe for teams that want control
- Stripe platform adoption: Widely used in production by well-known companies
GPT-6.2 Sol: 8.5, likely 7.3 to 9.4
Medusa’s payment provider and Better Auth’s billing plugin both build on Stripe SDK v23. Ghost still ships an older major for its paid membership integration. Arkwright rated Stripe’s API coverage, docs, sandbox, and openness highly, which supports the integration experience. Comparable satisfaction and performance data for the Node SDK itself are limited.
- github.com/medusajs/medusa/blob/develop/packages/modules/providers/payment-stripe/package.json: Medusa’s payment module declares Stripe SDK v23.1 or later within that major.
- better-auth.com/docs/plugins/stripe: Better Auth uses Stripe v23 for its subscription and webhook plugin.
- github.com/TryGhost/Ghost/blob/main/ghost/package.json: Ghost ships Stripe SDK v8 as a production dependency.
- ghost.org/integrations/stripe: Ghost documents Stripe as its paid membership and subscriptions integration.
- merchantpaymentsecosystem.com/files/documents/report-arkwright-next-gen-acquiring-processing.pdf: Arkwright’s 2026 API comparison gave Stripe 20 out of 20 on published API characteristics.
Safe8.5
How safe is it to depend on?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
It has zero dependencies, no known advisories and an MIT licence, and a company with a security policy publishes it. The Scorecard is 7.2, pulled down by a 0 for Dangerous-Workflow and no fuzzing. It handles payment secrets, but its record is clean.
- advisories total: 0 advisories
- scorecard: 7.2 overall; Dangerous-Workflow 0, Fuzzing 0, Pinned-Dependencies 6
- npm dependencies: 0 runtime dependencies
GPT-6.2 Sol: 8.4, likely 7.1 to 9.3
The SDK uses the permissive MIT license, has zero runtime dependencies, and has no listed advisories in OSV or Snyk for the version reviewed. The tagged release workflow runs builds and tests before publishing to npm through GitHub Actions with short-lived credentials. OpenSSF gives it 7.2, with zeroes for workflow safety and fuzzing. The number of people who can authorize npm releases is unclear.
- npm.dependencies, npm.license, advisories: Zero runtime dependencies, MIT license, and zero OSV advisories.
- scorecard.score, scorecard.checks: Strong token permissions, packaging, and static analysis. Workflow safety and fuzzing score zero, and signed releases are unscored.
- github.com/stripe/stripe-node/blob/v23.2.0/.github/workflows/main.yml: Tagged npm publish job uses OIDC and depends on successful build and test jobs.
- security.snyk.io/package/npm/stripe/23.2.0: Snyk lists no direct vulnerabilities for v23.2.0.
Good
- It has no runtime dependencies, ships its own TypeScript types and is generated from Stripe's API spec, so new endpoints arrive quickly.
- Releases are frequent: 106 GitHub releases and 31 npm versions in the last year, with each major version pinned to an API version.
- Built-in webhook signature checks, auto-pagination and fetch-based requests work in Node and in web-platform runtimes.
- With 46k dependent repos and broad training data, it has the largest ecosystem in the category, and AI coding agents write correct code for it.
Bad
- Major versions come often and each pins a new API version: v23 dropped Node 18 and removed several helpers, so upgrades need care.
- Minor upgrades can add new TypeScript errors, and some event and expandable fields are still typed loosely.
- Stripe is not a merchant of record by default, so tax filing and chargebacks stay with you, unlike with Paddle, Lemon Squeezy or Polar.
- The OpenSSF Scorecard gives 0 for Dangerous-Workflow and Fuzzing.
The numbers
- npm downloads, 4 weeks
- 136M ×7.8 in a year
- GitHub stars
- 4.6k
- Commits, 12 months
- 187
- npm version
- 23.2.0 Nov 2026
- Versions, 12 months
- 31
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 7.2 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (stripe/stripe-node), npm (stripe), OSV and the OpenSSF Scorecard.
Payment SDKs
- 9.1Stripe SDK
- 7.4Paddle SDK
- 7.1Adyen API library
- 7.1Polar SDK
- 6.7Square SDK
- 6.6Razorpay SDK
- 6.1PayPal Server SDK
- 5.7Braintree SDK
- 3.4Mollie API client
- 0.6Lemon Squeezy SDK