Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,109Feb 26, 2026Updated 8 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,489Updated this week
- ⏳ Modern JavaScript date utility library ⌛️☆36,657Updated this week
- High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.☆32,802Updated this week
- The most powerful data validation library for JS☆21,165Oct 16, 2026Updated last week
- String validation☆23,744Sep 11, 2026Updated last month
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- A JavaScript implementation of various web standards, for use with Node.js☆21,736Updated this week
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,038Updated this week
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆27,116Oct 16, 2026Updated last week
- A markdown parser and compiler. Built for speed.☆37,274Updated this week
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,659Sep 15, 2026Updated last month
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,532Updated this week
- Loads environment variables from .env for nodejs projects.☆20,553Updated this week
- The fast & forgiving HTML and XML parser☆4,794Updated this week
- Next-generation ES module bundler☆26,304Updated this week
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- A document head manager for React☆17,446Jul 18, 2023Updated 3 years ago
- Create the next immutable state by mutating the current one☆28,995Updated this week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,746Updated this week
- Generate RFC-compliant UUIDs in JavaScript☆15,343Updated this week
- Lightweight fuzzy-search, in JavaScript☆20,510Aug 9, 2026Updated 2 months ago
- Minimal and efficient cross-platform file watching library☆12,256Oct 19, 2026Updated last week
- Git hooks made easy 🐶 woof!☆35,367Mar 19, 2026Updated 7 months ago
- 🌲 super fast, all natural json logger☆18,264Oct 6, 2026Updated 3 weeks ago
- A logger for just about everything.☆24,527Jul 20, 2026Updated 3 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- The zero configuration build tool for the web. 📦🚀☆44,004Updated this week
- React components for efficiently rendering large lists and tabular data☆27,067Updated this week
- JavaScript API for Chrome and Firefox☆95,754Updated this week
- The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)☆14,865Sep 6, 2026Updated last month
- Promise based HTTP client for the browser and node.js☆109,311Updated this week
- ⏱ A library for working with dates and times in JS☆16,457Aug 9, 2026Updated 2 months ago
- Dead simple Object schema validation☆23,658Updated this week
- A JavaScript library to position floating elements and create interactions for them.☆32,773Updated this week
- React Hooks for Data Fetching☆32,492Oct 16, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.☆25,803Jul 30, 2024Updated 2 years ago
- The monorepo home to all of the FormatJS related libraries, most notably react-intl.☆14,749Updated this week
- A simple javascript utility for conditionally joining classNames together☆17,771Oct 21, 2026Updated last week
- 🌐 Human-friendly and powerful HTTP request library for Node.js☆14,953Oct 13, 2026Updated 2 weeks ago
- Simple, unobtrusive authentication for Node.js.☆23,520Aug 16, 2024Updated 2 years ago
- ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.☆38,958Updated this week
- 🖍 Terminal string styling done right☆23,340Updated this week