OSS Tanbou

Stripe Node.js Library — access the Stripe API from server-side JavaScript with typed resources

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
4,508
Primary language
TypeScript
License
MIT
Repository last updated
Sep 19, 2026

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.

Sources: [2][3]

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.

Sources: [2][4]

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. [1]stripe/stripe-node repository(2026-09-21)
  2. [2]Stripe Node.js Library README(2026-09-21)
  3. [3]Stripe API reference for Node.js(2026-09-21)
  4. [4]Stripe SDK versioning policy(2026-09-21)
  5. [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. 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. 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. 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 })
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.