Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,112Feb 26, 2026Updated 7 months ago
Alternatives and similar repositories for sanitize-html
Users that are interested in sanitize-html are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offe…☆17,443Updated this week
- ⏳ Modern JavaScript date utility library ⌛️☆36,649Sep 22, 2026Updated 2 weeks ago
- High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.☆32,744Updated this week
- The most powerful data validation library for JS☆21,164Sep 11, 2026Updated 3 weeks ago
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,043Updated this week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- String validation☆23,741Sep 11, 2026Updated 3 weeks ago
- A JavaScript implementation of various web standards, for use with Node.js☆21,698Updated this week
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆27,100Updated this week
- Loads environment variables from .env for nodejs projects.☆20,547Updated this week
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,665Sep 15, 2026Updated 3 weeks ago
- Next-generation ES module bundler☆26,304Updated this week
- The fast & forgiving HTML and XML parser☆4,790Updated this week
- A markdown parser and compiler. Built for speed.☆37,228Updated this week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,753Updated this week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist☆5,309May 6, 2026Updated 5 months ago
- A document head manager for React☆17,447Jul 18, 2023Updated 3 years ago
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,513Updated this week
- Git hooks made easy 🐶 woof!☆35,341Mar 19, 2026Updated 6 months ago
- Minimal and efficient cross-platform file watching library☆12,246Updated this week
- 🌲 super fast, all natural json logger☆18,237Updated this week
- React components for efficiently rendering large lists and tabular data☆27,072Jan 20, 2025Updated last year
- Generate RFC-compliant UUIDs in JavaScript☆15,337Sep 15, 2026Updated 3 weeks ago
- A simple javascript utility for conditionally joining classNames together☆17,777Sep 28, 2026Updated last week
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Create the next immutable state by mutating the current one☆28,983Updated this week
- Promise based HTTP client for the browser and node.js☆109,348Updated this week
- JavaScript API for Chrome and Firefox☆95,667Updated this week
- A JavaScript library to position floating elements and create interactions for them.☆32,759Sep 28, 2026Updated last week
- React Hooks for Data Fetching☆32,493Sep 22, 2026Updated 2 weeks ago
- ⏱ A library for working with dates and times in JS☆16,458Aug 9, 2026Updated last month
- The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)☆14,853Sep 6, 2026Updated last month
- Dead simple Object schema validation☆23,657Updated this week
- The zero configuration build tool for the web. 📦🚀☆44,013Sep 29, 2026Updated last week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Lightweight fuzzy-search, in JavaScript☆20,500Aug 9, 2026Updated last month
- ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.☆38,915Updated this week
- 🌐 Human-friendly and powerful HTTP request library for Node.js☆14,949Sep 20, 2026Updated 2 weeks ago
- A React framework for building text editors.☆22,571Feb 6, 2023Updated 3 years ago
- A logger for just about everything.☆24,524Jul 20, 2026Updated 2 months ago
- 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.☆25,809Jul 30, 2024Updated 2 years ago
- Help secure Express apps with various HTTP headers☆10,737Updated this week