zedkit
@zedtech/zedkit-server

Rate-limit calls per key

@zedtech/zedkit-server — beta

beta

At a glance

  • Who: Node developers protecting endpoints from abuse without infrastructure.
  • What: In-process per-key rate limiting with a two-line check.
  • Use when: For single-instance services and per-IP/per-user throttling.
  • Avoid when: Across multiple instances — use a shared-store (Redis) limiter instead.

Install

pnpm add @zedtech/zedkit-server

Latest: 0.1.2 (via changesets).

Example

Usage
import { MemoryRateLimiter } from "@zedtech/zedkit-server";
const limiter = new MemoryRateLimiter();
if (!limiter.allow(clientIp, 100)) return tooManyRequests();

Wraps: (none)

On this page