stripe-node
CLAUDE.md4.5k starsChanged 4 months agoMITView on GitHub
It's ok not to put comments on/in a function if their addition wouldn't meaningfully clarify anything.
Trending
Less talk lately.about the whole repository
Who's talking about stripe/stripe-node
- sendinblue/APIv3-nodejs-library“Why so complicated”GitHub · Oct 12, 2019 · 23 reactions
- stripe/stripe-js“[BUG]: Neither apiKey nor config.authenticator provided”GitHub · Oct 13, 2024 · 13 reactions
- webpack/webpack“require("child_process")”GitHub · Jan 31, 2015 · 11 reactions
- t3dotgg/stripe-recommendations“Fix race condition with 2 stripe customers for 1 user”GitHub · Jan 30, 2025 · 6 reactions
- vercel/edge-runtime“Support `Event` Web API”GitHub · Mar 28, 2023 · 4 reactions
The biggest 5 of 35 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 35
Talked about on GitHub and Hacker News (35 times).
On GitHub · 34
- Oct 12, 2019Why so complicated — sendinblue/APIv3-nodejs-library23 reactions · 6 comments
- Oct 13, 2024[BUG]: Neither apiKey nor config.authenticator provided — stripe/stripe-js13 reactions · 33 comments
- Jan 31, 2015require("child_process") — webpack/webpack11 reactions · 14 comments
- Jan 30, 2025Fix race condition with 2 stripe customers for 1 user — t3dotgg/stripe-recommendations6 reactions
- Mar 28, 2023Support `Event` Web API — vercel/edge-runtime4 reactions · 11 comments
29 more on GitHub
- May 23, 2026chore(deps): bump stripe from 18.5.0 to 22.1.1 in /server — WxboySuper/Graphical-Forecast-Creator3 reactions · 7 comments
- Apr 14, 2026chore(deps): bump the non-major group across 1 directory with 23 updates — Hardonian/Requiem3 reactions · 4 comments
- Apr 6, 2026chore(deps): bump stripe from 18.5.0 to 22.0.0 — Hardonian/FlexibleAccessible3 reactions · 3 comments
- Feb 16, 2026chore(deps)(deps): bump the stripe group across 1 directory with 3 updates — masilo-dev/alphaclone-nextjs3 reactions · 4 comments
- Oct 4, 2022feat: additive global context for npm packages (first pass) — denoland/TypeScript3 reactions
- Apr 21, 2021JavaScript: error in fetcher: key not found: :security_updates_only — dependabot/dependabot-core3 reactions · 9 comments
- Jul 3, 2019Add keep-alive support — sendgrid/sendgrid-nodejs3 reactions · 5 comments
- May 20, 2019[@types/stripe] stripe.taxRates is missing — DefinitelyTyped/DefinitelyTyped3 reactions · 1 comment
- Oct 5, 2026chore(deps): bump the test-versions group across 1 directory with 7 updates — DataDog/dd-trace-js2 reactions · 4 comments
- Aug 31, 2026chore(deps): bump the test-versions group across 1 directory with 5 updates — DataDog/dd-trace-js2 reactions · 3 comments
- Aug 21, 2026chore(deps): bump the test-versions group across 1 directory with 5 updates — DataDog/dd-trace-js2 reactions · 4 comments
- Jul 25, 2026deps: bump stripe from 14.25.0 to 22.3.2 — Hardonian/Settler2 reactions · 6 comments
- Jul 19, 2026chore(deps): bump stripe from 22.1.1 to 22.3.2 — EvezArt/evez-api2 reactions · 2 comments
- Jul 19, 2026chore(deps): bump stripe from 18.2.1 to 22.3.2 — emrekctp89/ai-kesif-platformu2 reactions · 4 comments
- Jul 12, 2026chore(deps): bump stripe from 22.1.1 to 22.3.1 — EvezArt/evez-api2 reactions · 2 comments
- Jul 5, 2026chore(deps): bump stripe from 18.2.1 to 22.3.1 — emrekctp89/ai-kesif-platformu2 reactions · 3 comments
- Jun 28, 2026chore(deps): bump stripe from 22.1.1 to 22.3.0 — EvezArt/evez-api2 reactions · 2 comments
- Jun 26, 2026chore(deps): bump stripe from 22.2.2 to 22.2.3 in /packages/dd-trace/test/plugins/versions in the test-versions group across 1 directory — DataDog/dd-trace-js2 reactions · 4 comments
- Jun 26, 2026chore(deps): bump stripe from 22.2.1 to 22.3.0 — CloudToLocalLLM-online/CloudToLocalLLM2 reactions · 1 comment
- Jun 25, 2026chore(deps): bump stripe from 22.2.0 to 22.3.0 in /services/streaming-proxy — CloudToLocalLLM-online/CloudToLocalLLM2 reactions · 2 comments
- Jun 25, 2026chore(deps): bump stripe from 22.2.0 to 22.3.0 in /services/api-backend — CloudToLocalLLM-online/CloudToLocalLLM2 reactions
- Jun 21, 2026chore(deps): bump stripe from 22.1.1 to 22.2.2 — EvezArt/evez-api2 reactions · 2 comments
- Jun 15, 2026chore(deps): bump stripe from 22.2.0 to 22.2.1 — CloudToLocalLLM-online/CloudToLocalLLM2 reactions
- Jun 14, 2026chore(deps): bump stripe from 22.1.1 to 22.2.1 — EvezArt/evez-api2 reactions · 2 comments
- Jun 9, 2026chore(deps): bump stripe from 20.4.1 to 22.3.0 — khairm/superset-windows-arm642 reactions · 3 comments
- May 15, 2026Bump stripe from 20.4.1 to 22.1.1 in /packages/payments — drewsephski/next-forge2 reactions · 3 comments
- May 15, 2026Bump stripe from 20.4.1 to 22.1.1 — drewsephski/next-forge2 reactions · 3 comments
- Feb 11, 2026chore(deps): bump stripe from 16.12.0 to 20.3.1 in /server — golebiepalkamtm-ship-it/react2 reactions · 2 comments
- Feb 2, 2021Request body seems to be modified — dougmoscrop/serverless-http2 reactions · 4 comments
On Hacker News · 1
- Oct 20, 2013Stripe/stripe-node - Stripe node.js bindings1 point
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 5
Run all tests: just test (builds first)
- Very specific: line 6
Run a specific test: just test --grep "test name pattern"
- Very specific: line 7
Run type tests: just types-test (builds first, then type-checks testProjects/types/typescriptTest.ts)
- Very specific: line 9
Must build TypeScript before testing (handled automatically by just commands)
- Distinctive: line 30
If something in a generated file/range needs to be updated, add a summary of the change to your report but don't attempt to edit it …
- Very specific: line 38
All code must run on all supported Node versions (full list in the test section of @.github/workflows/ci.yml)
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
stripe-node
Testing
- Run all tests:
just test(builds first) - Run a specific test:
just test --grep "test name pattern" - Run type tests:
just types-test(builds first, then type-checkstestProjects/types/typescriptTest.ts) - Tests use mocha
- Must build TypeScript before testing (handled automatically by
justcommands) - Most changes that add or modify public API surface should include a corresponding type test in
testProjects/types/typescriptTest.ts
Formatting & Linting
- Format:
just format(uses prettier) - Lint:
just lint(uses eslint, also auto-fixes) - Lint check only:
just lint-check
Key Locations
- HTTP client interface:
src/net/HttpClient.ts - Node.js HTTP implementation:
src/net/NodeHttpClient.ts - Fetch-based HTTP implementation:
src/net/FetchHttpClient.ts - Request orchestration (headers, auth, retries):
src/RequestSender.ts - Core client setup:
src/stripe.core.ts(CJS) andsrc/stripe.esm.node.ts(ESM) — changes to one usually need mirroring in the other - API version:
src/apiVersion.ts
Generated Code
- Files containing
File generated from our OpenAPI specat the top are generated; do not edit. Similarly, any code block starting withThe beginning of the section generated from our OpenAPI specis generated and should not be edited directly.- If something in a generated file/range needs to be updated, add a summary of the change to your report but don't attempt to edit it directly.
Conventions
- TypeScript source in
src/, compiled tocjs/(CommonJS) andesm/(ES modules) - Multi-platform: exports for Node.js, browser, Deno, Bun, workers
- Dependencies installed via yarn
- Work is not complete until
just test,just format, andjust lintcomplete successfully. - All code must run on all supported Node versions (full list in the test section of @.github/workflows/ci.yml)
Comments
- Comments MUST only be used to:
- Document a function
- Explain the WHY of a piece of code
- Explain a particularly complicated piece of code
- Comments NEVER should be used to:
- Say what used to be there. That's no longer relevant!
- Explain the WHAT of a piece of code (unless it's very non-obvious)
It's ok not to put comments on/in a function if their addition wouldn't meaningfully clarify anything.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

