Overview
Stripe Node.js Library is Stripe's official SDK for calling the Stripe API from Node.js and TypeScript applications. It exposes API resources through one client and includes TypeScript definitions plus configurable network retry behavior.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Call Stripe API resources through one client
A client initialized with a secret key exposes resources such as customers and returns Promise-based results for server-side application code.
Align TypeScript types with the Stripe API version
The package includes TypeScript definitions that follow the latest Stripe API shape, so applications pinned to older API versions need to account for differences.
Useful for Stripe integrations in Node.js backends
It fits server-side applications that manage payments, customers, invoices, and related Stripe resources through the official SDK.
Sources: [2]
Keep secret keys on the server
Use Stripe.js for browser-side payment collection and do not expose the stripe-node secret key to client code. Also verify the current Node.js support policy.
Sources: [2]
Official sources
- [1]stripe/stripe-node repository(2026-09-21)
- [2]Stripe Node.js Library README(2026-09-21)
- [3]Stripe API reference for Node.js(2026-09-21)
- [4]Stripe SDK versioning policy(2026-09-21)
- [5]Stripe Node.js Library MIT license(2026-09-21)
Supplemental curator note
Browser-side payment collection belongs to Stripe.js; stripe-node is for server-side code that can protect a secret key. The current README supports Node.js 18+ LTS releases, and its TypeScript types track the latest Stripe API shape, so applications pinned to older API versions should review type differences.
Try it in 3 steps
- 1
Install the official Stripe SDK
Add the official package to a server-side Node.js or TypeScript project and verify the currently supported Node.js versions.
npm install stripe - 2
Initialize the client with a test secret key
Load a test-mode secret key from the environment rather than embedding it in source code or browser bundles.
const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!) - 3
Try one read-only API call
Verify connectivity with a read-only list call before moving on to payment or billing operations.
await stripe.customers.list({ limit: 1 })
Growth
Growth trends · Last 30 days
4,508 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 22
- Open PRs
- 11
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- stripe
- stripe-sdk
- Stars
- 4,508
- Forks
- 935
- Watchers
- 87
- Open issues
- 36
- Contributors
- 176
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Sep 19, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Ghost55,373 Stars
3 shared tag(s) · Same language
An open-source CMS combining publishing, newsletters, memberships, and subscriptions.
TypeScript - Medusa36,400 Stars
3 shared tag(s) · Same language
A TypeScript commerce platform for composing modules, workflows, and APIs into B2B, DTC, marketplace, and custom commerce systems.
TypeScript - tRPC40,630 Stars
2 shared tag(s) · 2 shared category(s) · Same language
A TypeScript RPC framework that propagates server types to clients so inputs, outputs, and errors stay type-safe without separate schema or code generation.
TypeScript - Axios109,206 Stars
2 shared tag(s) · 2 shared category(s)
A Promise-based HTTP client for browsers and Node.js with interceptors, adapters, cancellation, and transport controls.
JavaScript - Firecrawl182,681 Stars
2 shared tag(s) · 1 shared category(s) · Same language
A web scraping and crawling API that turns websites into LLM-ready data.
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.