Repository navigation
馃殌 Tiny JS v1.0 - Simplify Dynamic DOM Creation & Selection
Introducing Tiny JS, a lightweight and intuitive JavaScript library designed to simplify dynamic HTML element creation and DOM manipulation. With Tiny JS, you can easily generate any standard HTML tag as a function, apply deep property assignments, and append content鈥攁ll with clean, readable code.
Key Features:
- Dynamic Element Creation: Generate HTML tags like
div,span,button, etc., through JavaScript. - Deep Property Assignment: Set properties like
className,style, andonclickdirectly, even nested properties. - DOM Selection Helpers:
$(): Quickly select a DOM element usingdocument.querySelector.$all(): Select multiple elements withdocument.querySelectorAlland get an iterable array.
Tiny JS is perfect for developers looking to streamline their DOM manipulation and make their JavaScript more efficient and readable. Try it out and let us know what you think!