# @foundrykit/rate-limit

> withRateLimit for Payload CMS endpoints and Next.js route handlers, backed by Payload's KV store, answering 429 with Retry-After when the limit is hit.

Latest version **0.1.1** (published 2026-11-19) · MIT license · 0 weekly downloads

_The full health report (score, vulnerabilities, README, dependency tree, version history) is being computed; this document will grow once it lands._

## Install

```sh
npm install @foundrykit/rate-limit
pnpm add @foundrykit/rate-limit
yarn add @foundrykit/rate-limit
bun add @foundrykit/rate-limit
```

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2026-11-19 |
| First published | 2026-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.9.0 |
| Dependencies | 0 |
| Unpacked size | 15.6 KB |
| Author | Isaac SJ |
| Maintainers | sneddo |
| Keywords | payload, payloadcms, nextjs, rate-limit |

## Links

- npm: https://www.npmjs.com/package/@foundrykit/rate-limit
- Repository: https://github.com/umi-labs/foundry
- Homepage: https://github.com/umi-labs/foundry/tree/prod/packages/payload/rate-limit#readme
- npm.io page: https://npm.io/package/@foundrykit/rate-limit

---
_Source: https://npm.io/package/@foundrykit/rate-limit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
