Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →
Top 23 JavaScript Dom Projects
-
Project mention: Show HN: TinyJs React like framework in 35 lines of code | news.ycombinator.com | 2025-01-26
Check out "preact" if you haven't already [0]
[0] - https://preactjs.com/
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
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:
Let's take a look at how we implement sanitization in the secure version of our vulnerable application. Since this application is primarily written using JavaScript, we use the dompurify library for the client side and the isomorphic-dompurify library for server-side sanitization. In the app.js program that acts as our web server, you will find an express endpoint /sanitized with a GET and POST implementation:
-
Project mention: Mdx – Execute Your Markdown Code Blocks, Now in Go | news.ycombinator.com | 2024-10-25
-
-
Project mention: Cash: A small jQuery alternative for modern browsers | news.ycombinator.com | 2024-11-02
Back in the days when trying to slim down JS I used https://github.com/filamentgroup/shoestring Main reason was because they had offered a custom build to only add what you really need.
It looks like cash has that as well, just bit more hidden in the documentation https://github.com/fabiospampinato/cash/blob/master/docs/par... If I'd use it I'd give that a try.
Somehow I still think going with what the browsers have to offer nowadays is a better option - actually it's really good and jQuery isn't really needed anymore. Especially when even the small jQuery alternative is still 6kB, while Preact, a react like lib, is only half the size.
-
-
Personally I'm not interested in using Tailwind but my main criticism is that it didn't go far enough in its approach.
Instead of using classes (which are extremely limiting) they should have created their own language like Imba did (inspired by TW).
https://imba.io/
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Tests structure Queries Roles User events Matchers Jest Matchers testing-library Mock functions
-
van
🍦 VanJS: World's smallest reactive UI framework. Incredibly Powerful, Insanely Small - Everyone can build a useful UI app in an hour.
VanJS deserves a mention here! https://vanjs.org/
Another interesting thing is that other JSX libraries like Solid.JS also return DOM nodes, and I love that this idea is gaining traction
The closer we get to the platform we're using, the better. Being removed by layers of abstractions CAN be useful, but in practice, I haven't found a use for abstracting away the platform. (yet.)
Maybe huge projects like Facebook benefit from this tho (which I haven't worked on)
-
-
-
-
-
curtainsjs
curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.
-
surreal
🗿 Mini jQuery alternative. Dependency-free animations. Locality of Behavior. Use one element or arrays transparently. Pairs with htmx. Vanilla querySelector() but better!
-
-
jquery-to-javascript-converter
Automatically finds jQuery methods from existing projects and generates vanilla js alternatives.
Project mention: Show HN: Auto-generate JavaScript alternatives for jQuery functions | news.ycombinator.com | 2024-05-16 -
Project mention: Show HN: I made a CLI tool to create web extensions with no build configuration | news.ycombinator.com | 2024-04-30
-
-
-
nanohtml
:dragon: HTML template strings for the Browser with support for Server Side Rendering in Node.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
JavaScript Dom discussion
JavaScript Dom related posts
-
Tauri (1) — A desktop application development solution more suitable for web developers ✅
-
Your rich text could be a cross-site scripting vulnerability
-
Cash: A small jQuery alternative for modern browsers
-
Understanding Cross-Site Scripting (XSS): A Quick Reference
-
Preact vs React: Which Framework is Right for Your Next Project?
-
Mitigate XSS exploits when using React's `dangerously SetInnerHTML`
-
Vanillajsx.com
-
A note from our sponsor - CodeRabbit
coderabbit.ai | 9 Feb 2025
Index
What are some of the best open-source Dom projects in JavaScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | Preact | 37,114 |
2 | DOMPurify | 14,527 |
3 | marko | 13,492 |
4 | dom-to-image | 10,484 |
5 | cash | 6,973 |
6 | Choo | 6,770 |
7 | imba | 6,346 |
8 | jest-dom | 4,483 |
9 | van | 3,989 |
10 | goober | 3,165 |
11 | canjs | 1,912 |
12 | nipplejs | 1,801 |
13 | holmes | 1,703 |
14 | curtainsjs | 1,696 |
15 | surreal | 1,422 |
16 | element-resize-detector | 1,321 |
17 | jquery-to-javascript-converter | 1,234 |
18 | sentineljs | 1,134 |
19 | hyperx | 1,014 |
20 | arrive | 878 |
21 | nanohtml | 685 |
22 | motus | 630 |
23 | snuggsi | 397 |