JavaScript / TypeScript
Overview
@umanthir/sdk is the official SDK for the Umanthir API, for Node.js and browsers.
What it does
- Every data route of the Umanthir API v2, with responses typed from the API contract
- ESM, CommonJS and type declarations for Node.js and bundlers
- Browser bundle
umanthir.min.js(about 7 kB gzip) exposing the globalUmanthir - Typed errors, warnings, timeouts, retries with
Retry-After, cancellation and opt-in debug logs - Zero runtime dependencies
Contents
- Installation
- Quick start
- Client options
- Resources
- Errors
- Warnings
- Debug logs and hooks
- Timeouts, retries and cancellation
- API keys
- TypeScript
- Compatibility
- Security
- Contributing
Next: Installation.