JavaScript SDKs for ThunderID. Provides authentication and user management for browser, Node.js, and framework-based web applications.
| Package | Version | Description |
|---|---|---|
@thunderid/javascript |
Framework-agnostic core SDK | |
@thunderid/browser |
Browser runtime SDK | |
@thunderid/node |
Node.js runtime SDK | |
@thunderid/react |
React SDK | |
@thunderid/nextjs |
Next.js SDK | |
@thunderid/react-router |
React Router integration | |
@thunderid/vue |
Vue SDK | |
@thunderid/nuxt |
Nuxt SDK | |
@thunderid/express |
Express.js SDK | |
@thunderid/tanstack-router |
TanStack Router integration | |
@thunderid/better-auth |
Better Auth provider helper |
Apps under playgrounds/ exercise the SDKs from the source in this workspace. Build the SDKs with
pnpm build, then start one:
| Playground | Run | What it shows |
|---|---|---|
| Browser | pnpm --filter @thunderid/playground-browser dev |
Capability checks against ThunderIDBrowserClient with a live on() hook log, an explorer for the @thunderid/browser UI helpers, and tokens |
| Express | pnpm --filter @thunderid/playground-express dev |
API explorer for the @thunderid/express handlers and protected routes, with an SDK trace |
| Next.js | pnpm --filter @thunderid/playground-nextjs dev |
Client and server capability checks, a component explorer for the @thunderid/nextjs components, a Server page with an API explorer for the proxy and route handlers, and tokens |
| Node.js | pnpm --filter @thunderid/playground-node dev |
Operations explorer for every ThunderIDNodeClient method from @thunderid/node, with the HTTP requests and an SDK trace |
| Nuxt | pnpm --filter @thunderid/playground-nuxt dev |
Client and server capability checks, a component explorer for the @thunderid/nuxt components with Vue SFC snippets, live composables, and a Server page with the SSR context, the server session, and an API explorer for the module routes, server utilities, and route middleware |
| React | pnpm --filter @thunderid/playground-react dev |
Capability checks, a component explorer for the @thunderid/react components, and live hooks and tokens |
| Vue | pnpm --filter @thunderid/playground-vue dev |
Capability checks, a component explorer for the @thunderid/vue components with Vue SFC snippets, and live composables and tokens |
Please refer to the Contributing Guide for the different ways to contribute to this project and the relevant guidelines.
For code contributions, refer to the Contributing Code section for details on the prerequisites and instructions for running ThunderID in development mode.
This project is licensed under the Apache License 2.0.
