GitHub Repository
View source code and contribute
NPM Package
api-dental on npm
Installation
Usage
Available Methods
Request & Response Types
The SDK includes TypeScript definitions for all request params and response fields:Error Handling
When the API returns a non-success status code, a subclass ofAPIError is thrown:
Retries
Certain errors are automatically retried 2 times by default with exponential backoff. Connection errors, 408, 409, 429, and >= 500 errors are retried.Timeouts
Requests time out after 1 minute by default:Accessing Raw Response Data
Logging
Requirements
- TypeScript >= 4.9
- Node.js 20 LTS or later
- Deno v1.28.0+
- Bun 1.0+
- Cloudflare Workers
- Vercel Edge Runtime