Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,138Feb 26, 2026Updated 3 weeks ago
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,766Mar 14, 2026Updated last week
- ⏳ Modern JavaScript date utility library ⌛️☆36,523Sep 8, 2025Updated 6 months ago
- High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.☆32,022Mar 12, 2026Updated last week
- The most powerful data validation library for JS☆21,198Mar 12, 2026Updated last week
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,090Updated this week
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆26,676Updated this week
- A JavaScript implementation of various web standards, for use with Node.js☆21,529Updated this week
- String validation☆23,756Mar 9, 2026Updated last week
- Loads environment variables from .env for nodejs projects.☆20,329Mar 4, 2026Updated 2 weeks ago
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,600Updated this week
- Next-generation ES module bundler☆26,256Mar 13, 2026Updated last week
- The fast & forgiving HTML and XML parser☆4,801Mar 14, 2026Updated last week
- A markdown parser and compiler. Built for speed.☆36,670Updated this week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,597Mar 4, 2026Updated 2 weeks ago
- Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist☆5,306Mar 4, 2026Updated 2 weeks ago
- A document head manager for React☆17,495Jul 18, 2023Updated 2 years ago
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,195Updated this week
- Minimal and efficient cross-platform file watching library☆11,964Dec 11, 2025Updated 3 months ago
- Git hooks made easy 🐶 woof!☆34,879Updated this week
- 🌲 super fast, all natural json logger☆17,539Updated this week
- React components for efficiently rendering large lists and tabular data☆27,083Jan 20, 2025Updated last year
- A simple javascript utility for conditionally joining classNames together☆17,833Mar 9, 2026Updated last week
- Create the next immutable state by mutating the current one☆28,906Mar 6, 2026Updated 2 weeks ago
- Generate RFC-compliant UUIDs in JavaScript☆15,244Feb 26, 2026Updated 3 weeks ago
- Promise based HTTP client for the browser and node.js☆108,655Updated this week
- JavaScript API for Chrome and Firefox☆93,818Mar 15, 2026Updated last week
- A JavaScript library to position floating elements and create interactions for them.☆32,500Mar 3, 2026Updated 2 weeks ago
- React Hooks for Data Fetching☆32,341Feb 27, 2026Updated 3 weeks ago