JavaScript Dom

Open-source JavaScript projects categorized as Dom

Top 23 JavaScript Dom Projects

  • Preact

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

    Project mention: Preact: Lightweight React Alternative | | 2024-01-27

    The official Preact documentation.

  • marko

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

    Project mention: The Best UI Libraries for Cross-Platform Apps with Tauri | | 2023-08-04

    SolidJS and Tauri form another potent combination for creating performant, lightweight, and secure experiences. SolidJS is a reactive UI library that is similar to Svelte in the way it compiles away reactivity and updates the DOM directly, but it also incorporates a fine-grained reactivity system reminiscent of libraries like Marko, Knockout, and MobX.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • 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: Launched my Social Media website for lonely people living abroad, all thanks to NextJS! | /r/nextjs | 2023-12-08

    I saw that some people were injecting alerts. If you haven't fixed it yet, consider using something like DOMPurify to sanitize the HTML input before posting it to the db.

  • dom-to-image

    Generates an image from a DOM node using HTML5 canvas

  • Choo

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

    Project mention: New crate: html - typed html constructors for Rust | /r/rust | 2023-04-10

    I haven't used elm much, but I do like elm quite a bit! I actually wrote a JS framework inspired by the "elm architecture" a few years back (choo). Admittedly I never looked at how they do CSS though. Is the elm-css package the right thing to look into?

  • cash

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

    Project mention: pure javascript vs jquery vs react for a complex, downloadable text based browser game with state management? | /r/webdev | 2023-05-14

    Maybe a small JQuery clone like a Cash - or SurfJS (Surf has a delay/queue, reactive templates) might help for writing less code and is still JavaScript

  • imba

    🐤 The friendly full-stack language

    Project mention: Ask HN: What are some unpopular technologies you wish people knew more about? | | 2023-12-02

    Imba. The best web programming language ever made.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • jest-dom

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

    Project mention: Mastering Jest Configuration for React TypeScript Projects with Vite: A Step-by-Step Guide | | 2023-12-15

    //config/jest/setupTests.ts // jest-dom adds custom jest matchers for asserting on DOM nodes. // allows you to do things like: // expect(element).toHaveTextContent(/react/i) // learn more: import '@testing-library/jest-dom';

  • van

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

    Project mention: Pocketbase: Open-source back end in 1 file | | 2024-01-06

    Depends on what you consider minimal, but I enjoy working with PocketBase and VanJS[1]. However there is no component library built in (if this is what you were asking for).


  • goober

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

  • canjs

    Build CRUD apps in fewer lines of code.

  • nipplejs

    :video_game: A virtual joystick for touch capable interfaces.

  • holmes

    Fast and easy searching inside a page (by Haroenv)

  • curtainsjs

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

  • element-resize-detector

    Optimized cross-browser resize listener for elements.

  • replace-jquery

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

  • hyperx

    🏷 - tagged template string virtual dom builder

  • arrive

    Watch for DOM elements creation and removal

  • nanohtml

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

  • motus

    Animation library that mimics CSS keyframes when scrolling.

  • 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: jQuery v4.0.0 Beta | | 2024-02-06

    Love that this happened, but I've been waiting for 4.0 soooo long that I ended up making my own modern jQuery:

    key differences:

    * Vanilla first. 1 file. Under 340 lines.

  • snuggsi

    snuggsi ツ - Easy Custom Elements in ~1kB

    Project mention: Snuggsi ツ – Easy Custom Elements in ~1kB | | 2023-06-16
  • long-press-event

    Adds `long-press` event to the DOM in 1k of pure JavaScript

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

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). The latest post mention was on 2024-02-06.

JavaScript Dom related posts


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

Project Stars
1 Preact 35,824
2 marko 13,052
3 DOMPurify 12,509
4 dom-to-image 9,972
5 Choo 6,766
6 cash 6,390
7 imba 6,200
8 jest-dom 4,244
9 van 3,304
10 goober 3,015
11 canjs 1,909
12 nipplejs 1,725
13 holmes 1,700
14 curtainsjs 1,593
15 element-resize-detector 1,304
16 replace-jquery 1,157
17 hyperx 1,007
18 arrive 860
19 nanohtml 676
20 motus 633
21 surreal 607
22 snuggsi 392
23 long-press-event 306
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.