Skip to main content
Or with pnpm / yarn / bun:

Requirements

  • A fetch implementation. Node 18+, all modern browsers, Deno, Bun, and Cloudflare Workers ship one. On older Node, pass a polyfill via fetchImpl.
  • One or both credentials, depending on which surfaces you use (see Authentication).

Verify

TypeScript

The package ships its own .d.ts types. All response types are exported from the package root, so you can type your own state directly:
See Types for the full export list.