https://github.com/wintercore/rate-limiter
https://github.com/wintercore/rate-limiter
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wintercore/rate-limiter
- Owner: WinterCore
- Created: 2022-03-07T07:13:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-02T14:29:04.000Z (over 3 years ago)
- Last Synced: 2025-04-09T01:45:12.820Z (about 1 year ago)
- Language: TypeScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deno Rate Limiter
> Simple rate limiter implementation with support for different algorithms written in Typescript
## Supported Algorithms
- [x] Token Bucket
- [ ] Leaking Bucket
- [ ] Fixed Window Counter
- [ ] Sliding Window Log
- [ ] Sliding Window Counter
## How to run locally
- Install [Deno](https://deno.land/)
- Clone this repo `git clone https://github.com/WinterCore/rate-limiter.git`
- Change your current working directory to the project's `cd rate-limiter`
- Run `./scripts/run.sh`