Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,143Updated this week
Alternatives and similar repositories for sanitize-html
Users that are interested in sanitize-html are comparing it to the libraries listed below
Sorting:
- DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offe…☆16,674Updated this week
- ⏳ Modern JavaScript date utility library ⌛️☆36,482Sep 8, 2025Updated 5 months ago
- High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.☆31,949Updated this week
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆26,637Updated this week
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,090Updated this week
- Next-generation ES module bundler☆26,235Updated this week
- The most powerful data validation library for JS☆21,202Nov 19, 2025Updated 3 months ago
- A JavaScript implementation of various web standards, for use with Node.js☆21,507Updated this week
- String validation☆23,753Feb 6, 2026Updated 3 weeks ago
- Loads environment variables from .env for nodejs projects.☆20,296Updated this week
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,565Feb 17, 2026Updated last week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,555Updated this week
- The fast & forgiving HTML and XML parser☆4,809Feb 22, 2026Updated last week
- Minimal and efficient cross-platform file watching library☆11,942Dec 11, 2025Updated 2 months ago
- 🌲 super fast, all natural json logger☆17,436Feb 21, 2026Updated last week
- Git hooks made easy 🐶 woof!☆34,817Feb 7, 2026Updated 3 weeks ago
- A markdown parser and compiler. Built for speed.☆36,630Updated this week
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,130Updated this week
- A JavaScript library to position floating elements and create interactions for them.☆32,454Updated this week
- 🌐 Human-friendly and powerful HTTP request library for Node.js☆14,871Updated this week
- A document head manager for React☆17,495Jul 18, 2023Updated 2 years ago
- ⏱ A library for working with dates and times in JS☆16,371Feb 7, 2026Updated 3 weeks ago
- A simple javascript utility for conditionally joining classNames together☆17,827Feb 23, 2026Updated last week
- The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)☆14,626Feb 20, 2026Updated last week
- Dead simple Object schema validation☆23,688Updated this week
- Create the next immutable state by mutating the current one☆28,887Feb 10, 2026Updated 2 weeks ago
- Generate RFC-compliant UUIDs in JavaScript☆15,231Updated this week
- React Hooks for Data Fetching☆32,325Feb 21, 2026Updated last week
- Lightweight fuzzy-search, in JavaScript☆19,990Mar 8, 2025Updated 11 months ago
- React components for efficiently rendering large lists and tabular data☆27,080Jan 20, 2025Updated last year
- ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.☆38,423Updated this week
- Promise based HTTP client for the browser and node.js☆108,628Updated this week
- The zero configuration build tool for the web. 📦🚀☆44,047Updated this week
- JavaScript API for Chrome and Firefox☆93,620Feb 23, 2026Updated last week
- Delightful JavaScript Testing.☆45,307Updated this week
- The monorepo home to all of the FormatJS related libraries, most notably react-intl.☆14,681Updated this week
- Standard Library☆25,448Updated this week
- 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.☆25,764Jul 30, 2024Updated last year
- Fast and low overhead web framework, for Node.js☆35,664Feb 23, 2026Updated last week