Skip to content

Releases: victorqribeiro/TinyJS

Improved prop argument

03 Oct 22:29
33fb417
Compare
Choose a tag to compare

This version fixes a minor issue where a HTMLElement could be passed wrongly as props

Remove deprecated function

14 Sep 05:30
197d0f8
Compare
Choose a tag to compare

This version removes the $all function in favor of the new $$

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

09 Sep 02:57
e23d368
Compare
Choose a tag to compare

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!