Dom

Top 23 Dom Open-Source Projects

  • Preact

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

  • Project mention: Preact vs React: A Comparative Guide | dev.to | 2024-04-23

    In this post, we get to know more about Preact, one of this year's trending libraries. And we'll compare it to React to see which one suits better for our projects.

  • html2canvas

    Screenshots with JavaScript

  • Project mention: Convert entire div data into image and save it into directory using JavaScript ft html2canvas.js | dev.to | 2024-02-04

    GItHub :- https://github.com/niklasvh/html2canvas

  • 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.

    SurveyJS logo
  • cheerio

    The fast, flexible, and elegant library for parsing and manipulating HTML and XML.

  • Project mention: 8 NPM Packages for JavaScript Beginners [2024][+tutorials] | dev.to | 2024-04-02

    Cheerio is your ticket to the world of server-side magic, allowing you to manipulate HTML and XML documents with jQuery-like syntax. It’s perfect for web scraping, data extraction, or just making sense of the mess that is web content. With Cheerio, you get to play around with the DOM, use CSS selectors, and basically do all the cool things you'd do in the browser, but server-side.

  • leptos

    Build fast web applications with Rust.

  • Project mention: Migrating a JavaScript frontend to Leptos, a Rust framework | dev.to | 2024-03-26

    Lots of new frontend frameworks have been built on top of Rust, including Leptos, which happens to be one of the most popular ones. In this guide, we'll highlight why and how to migrate your JavaScript frontend to use the Leptos Rust frontend framework.

  • marko

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

  • Project mention: The Best UI Libraries for Cross-Platform Apps with Tauri | dev.to | 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.

  • 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: JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024 | dev.to | 2024-04-09

    DOMPurify

  • partytown

    Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉

  • Project mention: Partytown: Run Third-Party Scripts from a Web Worker | news.ycombinator.com | 2024-04-22
  • 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.

    WorkOS logo
  • jsoup

    jsoup: the Java HTML parser, built for HTML editing, cleaning, scraping, and XSS safety.

  • Project mention: FLaNK Stack Weekly for 20 June 2023 | dev.to | 2023-06-20
  • dom-to-image

    Generates an image from a DOM node using HTML5 canvas

  • Choo

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

  • html-dom

    Common tasks of managing HTML DOM with vanilla JavaScript. Give me 1 ⭐if it’s useful.

  • Project mention: Mastering DOM manipulation with vanilla JavaScript | /r/patient_hackernews | 2023-11-08
  • 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 - https://github.com/fabiospampinato/cash or SurfJS https://surf.monster/ (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? | news.ycombinator.com | 2023-12-02

    Imba. The best web programming language ever made.

    https://imba.io/

  • html-to-image

    ✂️ Generates an image from a DOM node using HTML5 canvas and SVG.

  • AngleSharp

    :angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.

  • Project mention: Migration of a Dynamic Website to a Static Website | dev.to | 2023-12-17

    Instead, what I ended up doing is utilizing AngleSharp for transforming the existing (dynamic) websites into static files. I've stored them on disk and made them ready to be served statically.

  • csshake

    CSS classes to move your DOM!

  • wpt

    Test suites for Web platform specs — including WHATWG, W3C, and others

  • Project mention: Show HN: Dropflow, a CSS layout engine for node or <canvas> | news.ycombinator.com | 2024-03-21

    To reply mostly with my WPT Core Team hat off, mostly summarising the history of how we've ended up here:

    A build script used by significant swaths of the test suite is almost certainly out; it turns out people like being able to edit the tests they're actually running. (We _do_ have some build scripts — but they're mostly just mechanically generating lots of similar tests.

    A lot of the goal of WPT (and the HTML Test Suite, which it effectively grew out of) has been to have a test suite that browsers are actually running in CI: historically, most standards test suites haven't been particularly amenable to automation (often a lot of, or exclusively, manual tests, little concern for flakiness, etc.), and with a lot of policy choices that effectively made browser vendors choose to write tests for themselves and not add new tests to the shared test suite: if you make it notably harder to write tests for the shared test suite, most engineers at a given vendor are simply going to not bother.

    As such, there's a lot of hesitancy towards anything that regresses the developer experience for browser engineers (and realistically, browser engineers, by virtue of sheer number, are the ones who are writing the most tests for web technologies).

    That said, there are probably ways we could make things better: a decent number of tests for things like Grid use check-layout-th.js (e.g., https://github.com/web-platform-tests/wpt/blob/f763dd7d7b7ed...).

    One could definitely imagine a world in which these are a test type of their own, and the test logic (in check-layout-th.js) can be rewritten in a custom test harness to do the same comparisons in an implementation without any JS support.

    The other challenge for things like Taffy only targeting flexbox and grid is we're unlikely to add any easy way to distinguish tests which are testing interactions with other layout features (`position: absolute` comes to mind!).

    My suggestion would probably be to start with an issue at https://github.com/web-platform-tests/rfcs/issues, describing the rough constraints, and potentially with one or two possible solutions.

  • SwiftSoup

    SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)

  • Project mention: Does iOS application development platform support HTML rendering? | /r/iOSProgramming | 2023-05-30

    For parsing there is this amazing library, but again, that's only for parsing HTML, not rendering anything: https://github.com/scinfu/SwiftSoup

  • 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 | dev.to | 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: https://github.com/testing-library/jest-dom import '@testing-library/jest-dom';

  • htmlparser2

    The fast & forgiving HTML and XML parser

  • Project mention: Nue: A React/Vue/Vite/Astro Alternative | news.ycombinator.com | 2023-09-14

    I hear you! I went all-in to jQuery- scene. Even wrote a semi-famous library called "jQuery Tools" (oldies know). Then came React and I wrote Riot to simplify the syntax. Then I sidetracked to a startup world for (too) many years and watched aside how the frontend ecosystem grew to it's current dimensions.

    Node uses a single dependency, htmlparser2 [1], in the package.json [2]. The HTML parser is used to traverse the HTML that is written on the Nue files. I quickly _thought_ of writing my own parser, but right now I'm having my eyes staring at Bun's native HTML parsing capabilities. Instead of Node, I'm using Bun to develop everything. I need less dependencies with it, because things like JS minification or .env file parsing are biult in.

    [1]: https://github.com/fb55/htmlparser2

  • PugiXML

    Light-weight, simple and fast XML parser for C++ with XPath support

  • Project mention: [Cpp Questions] Un analyseur HTML pour CPP? | /r/enfrancais | 2023-05-17

    et déjà essayé: pugixml

  • arachni

    Web Application Security Scanner Framework

  • Project mention: Self-Host Vulnerability Scanner | /r/selfhosted | 2023-07-09
  • 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 | news.ycombinator.com | 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).

    [1]: https://vanjs.org/

  • 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.

    InfluxDB logo
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).

Dom related posts

Index

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

Project Stars
1 Preact 36,021
2 html2canvas 29,789
3 cheerio 27,749
4 leptos 14,602
5 marko 13,136
6 DOMPurify 12,766
7 partytown 12,658
8 jsoup 10,625
9 dom-to-image 10,076
10 Choo 6,774
11 html-dom 6,438
12 cash 6,416
13 imba 6,230
14 html-to-image 5,171
15 AngleSharp 4,994
16 csshake 4,826
17 wpt 4,628
18 SwiftSoup 4,318
19 jest-dom 4,284
20 htmlparser2 4,274
21 PugiXML 3,802
22 arachni 3,639
23 van 3,438

Sponsored
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.
www.influxdata.com