UNPKG

@thi.ng/leaky-bucket

Version:

Configurable, counter-based Leaky Bucket abstractions for generalized rate-limiting purposes

30 lines (18 loc) 1.15 kB
# Change Log - **Last updated**: 2025-08-04T09:13:01Z - **Generator**: [thi.ng/monopub](https://thi.ng/monopub) All notable changes to this project will be documented in this file. Only versions published since **2022-01-01** are listed here. Please consult the Git history for older version information. See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines. **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes and/or version bumps of transitive dependencies. ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leaky-bucket@0.2.0) (2025-03-10) #### 🚀 Features - add `.hasCapacity()` ([bdb13d2](https://github.com/thi-ng/umbrella/commit/bdb13d2)) #### 🩹 Bug fixes - fix delta time handling in `.leak()` ([a42c9d5](https://github.com/thi-ng/umbrella/commit/a42c9d5)) ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/leaky-bucket@0.1.0) (2025-03-09) #### 🚀 Features - import as new pkg ([bdfd5ed](https://github.com/thi-ng/umbrella/commit/bdfd5ed)) - add support for per-bucket capacities ([fddb130](https://github.com/thi-ng/umbrella/commit/fddb130))