Skip to content

🚀 Tiny JS v1.0 - Simplify Dynamic DOM Creation & Selection

Compare
Choose a tag to compare
@victorqribeiro victorqribeiro released this 09 Sep 02:57
· 10 commits to master since this release
e23d368

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—all 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, and onclick directly, even nested properties.
  • DOM Selection Helpers:
    • $(): Quickly select a DOM element using document.querySelector.
    • $all(): Select multiple elements with document.querySelectorAll and 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!