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.

10 lines (6 loc) 691 B
## 🚀 Release Notes: TinyClassManager Update ### ✨ Added * **New `insert()` Method:** Introduced a direct and much cleaner way to apply plugins by passing the apply function itself, bypassing the need for object wrappers. * **Static Metadata Integration:** Plugins now define their metadata directly on the extended class using `static _tinyDepName` (required) and `static _tinyDeps` (optional). This makes the overall architecture simpler and purely class-based. ### ⚠️ Deprecated * **The `use()` Method:** The old object-wrapper pattern and the `use()` method are now officially marked as deprecated. We highly recommend migrating existing plugins to the new `insert()` method.