# Stripe SDK: 9.1 out of 10

The default choice. 1st of 10 in [Payment SDKs](https://elestia.ai/opensource/payments/index.md).

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

- **Overall: 9.1** (likely 8.3 to 9.6)
  - Claude Opus 5.5 (9.0): 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.
  - GPT-6.2 Sol (9.1): 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.
- **Needed by many: 5.3** (likely 4.2 to 6.4)
  - Claude Opus 5.5 (6.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.
  - GPT-6.2 Sol (4.5): 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.
- **Helps a lot: 9.0** (likely 7.9 to 9.7)
  - Claude Opus 5.5 (9.0): 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.
  - GPT-6.2 Sol (9.0): 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.
- **Holds up over time: 8.9** (likely 8.0 to 9.6)
  - Claude Opus 5.5 (9.0): 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.
  - GPT-6.2 Sol (8.7): 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.
- **Used widely: 8.5** (likely 7.6 to 9.3)
  - Claude Opus 5.5 (9.5): 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.
  - GPT-6.2 Sol (7.4): 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.
- **Vouched for: 8.8** (likely 7.7 to 9.5)
  - Claude Opus 5.5 (9.0): 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.
  - GPT-6.2 Sol (8.5): 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.
- **Safe: 8.5** (likely 7.3 to 9.2)
  - Claude Opus 5.5 (8.5): 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.
  - GPT-6.2 Sol (8.4): 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.

## 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

- Downloads, 4 weeks: 136M
- In a year: ×7.8
- GitHub stars: 4.6k
- Commits, 12 months: 187
- Last npm release: Nov 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/stripe/stripe-node
- npm: https://www.npmjs.com/package/stripe

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
