Skip to main content

Requirements

  • Node.js >= 18.x
  • TypeScript >= 5.x (optional, but recommended)
  • stripe ^17.0

Install via npm, yarn or pnpm

If you plan to use Stripe Elements in the browser, also install:

Stripe Elements (optional)

StripeKit includes optional browser-side helpers for Stripe Elements. These are only needed if you plan to use Elements mode in the browser. If you plan to use Stripe Elements in the browser, import the helper:
The Elements helpers are client-side only and never run in Node.js. If you don’t need Stripe Elements, you never have to import these helpers. See Stripe Elements details on using it.

Package information

Next steps