Documentation Index
Fetch the complete documentation index at: https://docs.throttlr.yashjejurkar.me/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Node.js 18+
- An API key from the Throttlr Dashboard
Install
Initialize
Create a single instance ofRateLimiter and reuse it across your application. Do not create a new instance per request.
Constructor Options
| Option | Type | Required | Description |
|---|---|---|---|
apiKey | string | ✅ | Your project’s API key from the dashboard |
baseUrl | string | ❌ | Override the API base URL (defaults to production) |
Environment Setup
Add your key to.env: