JavaScript Dom

Open-source JavaScript projects categorized as Dom

Top 23 JavaScript Dom Projects

  1. Preact

    ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

    Project mention: How to Convert Supplier CSVs to Shopify/Amazon/WooCommerce Without Uploading to a Server | dev.to | 2026-06-01

    eBay: 30+ fields (item specifics, variations, shipping) Each schema is a JSON file defining field names, data types, and validation rules. The mapper walks source → target assignments and applies type coercion (string → number, date formatting, etc.) before export. The entire app stays under 200 KB gzipped by avoiding heavy UI libraries. It's built with Preact + htm (no JSX build step) and styled with Tailwind CSS v4. Export & Practical Considerations Export uses the standard Blob + download API. No server round-trip — just an ephemeral click with URL.createObjectURL(). The free tier handles 50 rows, enough to validate the mapping before committing. Column mapping profiles can be saved and reused, which is useful when the same supplier sends weekly inventory files with identical headers. Try It If you deal with supplier files regularly, you might find this useful. SKUMart handles all of this out of the box — just drop a file and export.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. DOMPurify

    DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

    Project mention: DOMPurify, DOM-only, fast, Uber-tolerant XSS sanitizer for HTML, SVG and MathML | news.ycombinator.com | 2025-12-19
  4. marko

    A declarative, HTML-based language that makes building web apps fun

    Project mention: JavaScript Awesome Package | dev.to | 2026-02-03

    Marko.js - Bringing back progressive HTML rendering to the masses

  5. dom-to-image

    Generates an image from a DOM node using HTML5 canvas

  6. snapdom

    High-performance engine for capturing, modifying, and converting DOM elements into any format.

    Project mention: Show HN: Snapdom V2 Beta – Capture and modify DOM to multiple formats on-the-fly | news.ycombinator.com | 2025-10-14
  7. cash

    An absurdly small jQuery alternative for modern browsers. (by fabiospampinato)

  8. Choo

    :steam_locomotive::train: - sturdy 4kb frontend framework

    Project mention: Ask HN: Abandoned/dead projects you think died before their time and why? | news.ycombinator.com | 2025-10-11

    choojs

    All of the upside and none of the downside of react

    No JSX and no compiler, all native js

    The main dev is paid by microsoft to do oss rust nowadays

    I use choo for my personal projects and have used it twice professionally

    https://github.com/choojs/choo#example

    The example is like 25 lines and introduces all the concepts

    Less moving parts than svelte

  9. imba

    🐤 The friendly full-stack language

    Project mention: Imba – The friendly full-stack language | news.ycombinator.com | 2025-09-15
  10. jest-dom

    :owl: Custom jest matchers to test the state of the DOM

  11. van

    🍦 VanJS: World's smallest reactive UI framework. Incredibly Powerful, Insanely Small - Everyone can build a useful UI app in an hour.

  12. goober

    🥜 goober, a less than 1KB 🎉 css-in-js alternative with a familiar API

    Project mention: Prompts should live outside. | dev.to | 2025-09-17

    For this section, I would like to thank goober css for introducing me to tagged functions in template strings. Also, credit to the inventor of the clsx function, used by shadcn UI components back in the day, when it was a one-liner: classNames.filter(Boolean).join(' '). These two sparked a connection and inspired me to write a small tagged function that can be used with template literals and later return a function.

  13. canjs

    Build CRUD apps in fewer lines of code.

  14. curtainsjs

    curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.

  15. holmes

    Fast and easy searching inside a page (by Haroenv)

  16. surreal

    🗿 Mini jQuery alternative. Dependency-free animations. Locality of Behavior. Use one element or arrays transparently. Pairs with htmx. Vanilla querySelector() but better!

    Project mention: Creators of Tailwind laid off 75% of their engineering team | news.ycombinator.com | 2026-01-07

    I recently had a similar junk PR on my 1,700 star repository: https://github.com/gnat/surreal/pull/56

    I'm fairly convinced these are bot / LLM generated; the content is nonsensical garbage.

    PS: If an LLM needs a whole seperate fork to understand your content, the LLM is failing at it's job.

    PS PS: I want to highlight that the PR itself also seems to be an excuse to get the library quantizor made pulled in as a new dependency. Nasty.

  17. element-resize-detector

    Optimized cross-browser resize listener for elements.

  18. jquery-to-javascript-converter

    Automatically finds jQuery methods from existing projects and generates vanilla js alternatives.

  19. sentineljs

    Detect new DOM nodes using CSS selectors (650 bytes)

  20. hyperx

    🏷 - tagged template string virtual dom builder

  21. arrive

    Watch for DOM elements creation and removal

  22. nanohtml

    :dragon: HTML template strings for the Browser with support for Server Side Rendering in Node.

  23. trusted-types

    A browser API to prevent DOM-Based Cross Site Scripting in modern web applications.

    Project mention: Protecting against cross-site scripting with trusted types | dev.to | 2025-09-23

    https://github.com/w3c/trusted-types https://developer.mozilla.org/en-US/docs/Web/API/Trusted_Types_API https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Content-Security-Policy/trusted-types https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/meta/http-equiv https://github.com/cure53/DOMPurify

  24. motus

    Animation library that mimics CSS keyframes when scrolling.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Dom discussion

Log in or Post with

JavaScript Dom related posts

  • DOMPurify, DOM-only, fast, Uber-tolerant XSS sanitizer for HTML, SVG and MathML

    1 project | news.ycombinator.com | 19 Dec 2025
  • Dompurify : Prevent XSS Attack remove all the script tag.

    1 project | dev.to | 17 Dec 2025
  • jQuery VS indom - a user suggested alternative

    2 projects | 17 Nov 2025
  • Show HN: I made a better DOM morphing algorithm

    5 projects | news.ycombinator.com | 15 Nov 2025
  • Protecting against cross-site scripting with trusted types

    2 projects | dev.to | 23 Sep 2025
  • Imba – The friendly full-stack language

    1 project | news.ycombinator.com | 15 Sep 2025
  • Marko 6

    1 project | news.ycombinator.com | 9 Sep 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 6 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Dom projects in JavaScript? This list will help you:

# Project Stars
1 Preact 38,676
2 DOMPurify 17,047
3 marko 14,371
4 dom-to-image 10,779
5 snapdom 7,824
6 cash 7,043
7 Choo 6,768
8 imba 6,499
9 jest-dom 4,592
10 van 4,375
11 goober 3,266
12 canjs 1,914
13 curtainsjs 1,812
14 holmes 1,793
15 surreal 1,713
16 element-resize-detector 1,315
17 jquery-to-javascript-converter 1,233
18 sentineljs 1,133
19 hyperx 1,018
20 arrive 899
21 nanohtml 689
22 trusted-types 661
23 motus 623

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that JavaScript is
the 5th most popular programming language
based on number of references?