UMANTHIR

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 global Umanthir
  • 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.

Cookies

Session, language and theme use necessary cookies and stay on. Usage tagging, such as visit analytics or advertising, starts only if you allow it.

Manage cookies

Session, language and theme use necessary cookies and stay on. Usage tagging, such as visit analytics or advertising, starts only if you allow it.