Skip to main content
The Limitly SDK provides a simple and powerful way to integrate rate limiting into your application.

Installation

NPM

Yarn

PNPM

Basic Setup

Import and initialize the SDK:

Configuration Options

The SDK accepts the following configuration options:
string
required
Your Limitly API key. You can find this in your Limitly dashboard.
string
The base URL for the Limitly API. Defaults to https://api.limitly.dev.
number
Request timeout in milliseconds. Defaults to 30000 (30 seconds).

Example Configuration

Next Steps