Stripe.js
Official Stripe SDK for integrating payments and connect functionality in web and mobile apps.
SDKs for hosted services npm MIT
Used in agent projects
103
0.8% of 12,697 public repos built with AI coding agents
Rank in sdks for hosted services
#9 of 44
by use in those projects
Downloads
14M
npm, last 7 days, @stripe/stripe-js
GitHub stars
754
last push Oct 8, 2026
How Stripe.js is used
Stripe.js is a dependency in 103 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.8%), #9 of 44 in sdks for hosted services. The most used alternative there is Supabase JS. Projects that use it most often also use Stripe (69.9%), Lucide React (70.9%), React (96.1%).
Often used with Stripe.js
| Stripe | 69.9% of Stripe.js projects · 45.1× more than average |
|---|---|
| Lucide React | 70.9% of Stripe.js projects · 3.6× more than average |
| React | 96.1% of Stripe.js projects · 2.2× more than average |
| clsx | 59.2% of Stripe.js projects · 3.3× more than average |
| Zod | 57.3% of Stripe.js projects · 3.4× more than average |
| Supabase JS | 47.6% of Stripe.js projects · 6.5× more than average |
| Tailwind CSS | 81.6% of Stripe.js projects · 2.3× more than average |
| Tailwind Merge | 56.3% of Stripe.js projects · 3.3× more than average |
By coding agent
| Claude Code | 1.2% of projects set up for it |
|---|---|
| Cursor | 1.6% of projects set up for it |
| GitHub Copilot | 0.8% of projects set up for it |
Share of public repos configured for each agent that list Stripe.js as a dependency.
Install
| Package | npm install @stripe/stripe-js |
|---|---|
| Packages counted | @stripe/stripe-js, @stripe/react-stripe-js, @stripe/stripe-react-native, @stripe/react-connect-js, @stripe/connect-js, @stripe/ui-extension-sdk |
| Main stacks | Next.js (63), TypeScript / JavaScript (32), React Native / Expo (4), PHP (3) |
| Example projects | stephenasuncionDEV/nfthost, databayt/hogwarts, FightTheStroke/MirrorBuddy |
Alternatives to Stripe.js
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| Supabase JS npm Isomorphic JavaScript SDK for Supabase backend-as-a-service. |
927 (7.3%) | 30.5M | 4,574 | MIT |
| Supabase SSR npm Supabase client library optimized for server-side rendering frameworks. |
332 (2.6%) | 8.1M | 210 | MIT |
| Resend npm Node.js SDK for Resend email API to send transactional emails. |
235 (1.9%) | 12.9M | 964 | MIT |
| Firebase npm Google's platform SDK for realtime database, auth, hosting and serverless functions. |
224 (1.8%) | 10.6M | 5,149 | Apache-2.0 |
| AWS SDK for JavaScript (S3) npm Official AWS SDK for uploading, downloading and managing S3 objects. |
200 (1.6%) | 49.4M | 3,673 | Apache-2.0 |
| EmailJS npm Official browser SDK for sending emails directly from client-side JavaScript without a backend. |
189 (1.5%) | 122K | 143 | BSD-3-Clause |
| Supabase CLI npm Command-line tool for managing Supabase projects and databases locally. |
131 (1.0%) | 5.6M | 2,430 | MIT |
| Google APIs Client Library npm Official SDK for calling Google APIs from Node.js applications. |
85 (0.7%) | 10.8M | 12.3K | Apache-2.0 |