UNPKG

@ulu/frontend

Version:

A framework-agnostic frontend toolkit providing a modular, tree-shakable library of accessible components and utilities. Designed for seamless integration, it features a highly configurable SCSS system for any environment and vanilla JavaScript modules op

12 lines (11 loc) 139 B
let i = 0; function n() { return `ulu-uid-${++i}`; } function d(u) { u.id || (u.id = n()); } export { d as ensureId, n as newId };