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. Learn more →
Top 23 Dom Open-Source Projects
-
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:
-
partytown
Relocate resource intensive third-party scripts off of the main thread and into a web worker. 🎉
-
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.
-
AngleSharp
:angel: The ultimate angle brackets parser library parsing HTML5, MathML, SVG and CSS to construct a DOM based on the official W3C specifications.
-
SwiftSoup
SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
-
van
🍦 VanJS: World's smallest reactive UI framework. Incredibly Powerful, Insanely Small - Everyone can build a useful UI app in an hour.
-
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.
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.
Project mention: Convert entire div data into image and save it into directory using JavaScript ft html2canvas.js | dev.to | 2024-02-04GItHub :- https://github.com/niklasvh/html2canvas
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.
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.
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.
Project mention: JavaScript Libraries for Implementing Trendy Technologies in Web Apps in 2024 | dev.to | 2024-04-09DOMPurify
Project mention: Partytown: Run Third-Party Scripts from a Web Worker | news.ycombinator.com | 2024-04-22
Project mention: Mastering DOM manipulation with vanilla JavaScript | /r/patient_hackernews | 2023-11-08
Project mention: pure javascript vs jquery vs react for a complex, downloadable text based browser game with state management? | /r/webdev | 2023-05-14Maybe 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
Project mention: Ask HN: What are some unpopular technologies you wish people knew more about? | news.ycombinator.com | 2023-12-02Imba. The best web programming language ever made.
https://imba.io/
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.
Project mention: Show HN: Dropflow, a CSS layout engine for node or <canvas> | news.ycombinator.com | 2024-03-21To 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.
Project mention: Does iOS application development platform support HTML rendering? | /r/iOSProgramming | 2023-05-30For parsing there is this amazing library, but again, that's only for parsing HTML, not rendering anything: https://github.com/scinfu/SwiftSoup
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';
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
et déjà essayé: pugixml
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/
Dom related posts
- Proposal: Signals as a Built-In Primitive of JavaScript
- Creating and deploying web scraper using Apify
- Migrating a JavaScript frontend to Leptos, a Rust framework
- Littlefoot – a jQuery-free fork of Bigfoot.js popup footnotes JavaScript library
- Nue CSS: A Scaleable Alternative to Tailwind, BEM, and CSS-in-JS
- Htmlq: Like Jq, but for HTML
- Rust on Nails
-
A note from our sponsor - SurveyJS
surveyjs.io | 24 Apr 2024
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