Mastering DOM manipulation with vanilla JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • html-dom

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

  • SaaSHub

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

    SaaSHub logo
  • hscrpt

    Combine this with https://github.com/dominictarr/hscrpt and you'll be building websites in no time!

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

    You mean from this article "Sanitize HTML strings"? https://phuoc.ng/collection/html-dom/sanitize-html-strings/

    Yeah, that article really shouldn't imply that sanitization is "that easy". It does at least mention https://github.com/cure53/DOMPurify at the end but it should LOUDLY argue against attempting to write this particular thing yourself and promote that exclusively in my opinion.

  • sanitizer-api

  • nixpkgs

    Nix Packages collection & NixOS

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Understanding Cross-Site Scripting (XSS): A Quick Reference

    1 project | dev.to | 28 Oct 2024
  • Mitigate XSS exploits when using React's `dangerously SetInnerHTML`

    1 project | dev.to | 12 Sep 2024
  • Release 0.9.0 of `@xmldom/xmldom`

    1 project | dev.to | 29 Aug 2024
  • Navigating the Security Risks of Arbitrary Values in Tailwind CSS

    1 project | dev.to | 15 Aug 2024
  • Happy DOM: headless web browser in JavaScript

    1 project | news.ycombinator.com | 12 Jul 2024