@sesamecare-oss/rate-limit
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@sesamecare-oss/rate-limit

A simple wrapper around node-rate-limiter-flexible that manages multiple instances of a rate limiter (for multiple keys on which to rate limit a single request, such as ip and username). @sesamecare-oss/rate-limit provides type sugar and some simpler centralized call mechanics.

See [tests/index.spec.ts] for sample usage.

Readme

Keywords

Package Sidebar

Install

npm i @sesamecare-oss/rate-limit

Weekly Downloads

9

Version

1.0.3

License

UNLICENSED

Unpacked Size

110 kB

Total Files

16

Last publish

Collaborators

  • djmax