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.

19 lines (11 loc) 962 B
## 📦 What's New? ### 📝 TinyTextDiffer A sophisticated character-level text comparison tool. Whether you are building a code editor, a versioning system, or just need to track changes between strings, `TinyTextDiffer` has you covered. * **LCS Algorithm**: Uses the Longest Common Subsequence logic for maximum accuracy. * **History Management**: Easily track multiple versions and compare any two indices. * **Parseable Output**: Returns a clean array of objects (`normal`, `added`, `deleted`) ready for UI rendering. ### 🕒 TinyAnalogClock A lightweight analog clock engine for managing time-based rotations, supporting custom offsets, smooth transitions, and easy binding to CSS variables rendering. * **Rotation Logic**: Automatically calculates degrees for hours, minutes, and seconds. * **Flexible Binding**: Perfect for syncing with CSS variables. **Full Changelog**: https://github.com/JasminDreasond/Tiny-Essentials/compare/1.25.0...1.25.1