UNPKG

tiny-essentials

Version:

Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.

12 lines (7 loc) 688 B
## ✨ New Features * **New Class:** `TinyNeedBar` — A versatile utility for simulating "need bars". Supports multiple decay factors, clamped and infinite values, serialization, cloning, and full runtime control. ## 🛠️ Improvements * **Clock Module (`clock.mjs`):** Added `breakdownDuration` option for more precise timing control. * **Custom Timer:** Fixed the total value calculation in `formatCustomTimer`. This release focuses on improving timing utilities and introducing the first version of the `TinyNeedBar` system, expanding Tiny Essentials' toolbox for simulation systems. **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.21.0...1.21.1