Skip to content
reaatech

idempotency-middleware · packages

Every package shipped from reaatech/idempotency-middleware, published or pending.

Filtering by

1 package

@reaatech/idempotency-middleware

v1.0.0
A framework-agnostic TypeScript middleware that makes POST, PUT, and PATCH requests idempotent by caching responses keyed to an `Idempotency-Key` header, with pluggable storage adapters (in-memory, Redis, DynamoDB, Firestore) and distributed locking to prevent concurrent handler execution for the same key. Exports an `IdempotencyMiddleware` class with an `execute` method that wraps any async handler.
status
published
published
6 months ago