Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,129Feb 26, 2026Updated 4 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,155Updated this week
- ⏳ Modern JavaScript date utility library ⌛️☆36,585Jun 8, 2026Updated 3 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,375Jun 23, 2026Updated last week
- The most powerful data validation library for JS☆21,194Jun 17, 2026Updated last week
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,062Updated this week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆26,831Updated this week
- A JavaScript implementation of various web standards, for use with Node.js☆21,590May 23, 2026Updated last month
- String validation☆23,748Jun 17, 2026Updated last week
- Loads environment variables from .env for nodejs projects.☆20,479Jun 11, 2026Updated 2 weeks ago
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,663Jun 22, 2026Updated last week
- Next-generation ES module bundler☆26,291Updated this week
- The fast & forgiving HTML and XML parser☆4,774Updated this week
- A markdown parser and compiler. Built for speed.☆36,921Jun 23, 2026Updated last week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,705Jun 17, 2026Updated last week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist☆5,319May 6, 2026Updated last month
- A document head manager for React☆17,473Jul 18, 2023Updated 2 years ago
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,391Updated this week
- Minimal and efficient cross-platform file watching library☆12,151May 12, 2026Updated last month
- Git hooks made easy 🐶 woof!☆35,166Mar 19, 2026Updated 3 months ago
- 🌲 super fast, all natural json logger☆17,971Jun 12, 2026Updated 2 weeks ago
- React components for efficiently rendering large lists and tabular data☆27,071Jan 20, 2025Updated last year
- A simple javascript utility for conditionally joining classNames together☆17,793Jun 22, 2026Updated last week
- Create the next immutable state by mutating the current one☆28,963Updated 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.
- Generate RFC-compliant UUIDs in JavaScript☆15,302Jun 20, 2026Updated last week
- Promise based HTTP client for the browser and node.js☆109,083Jun 23, 2026Updated last week
- JavaScript API for Chrome and Firefox☆95,258Updated this week
- A JavaScript library to position floating elements and create interactions for them.☆32,636Jun 10, 2026Updated 2 weeks ago
- React Hooks for Data Fetching☆32,411Updated this week
- ⏱ A library for working with dates and times in JS☆16,417Apr 28, 2026Updated 2 months ago
- The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)☆14,748May 12, 2026Updated last month
- Dead simple Object schema validation☆23,672Jun 20, 2026Updated last week
- The zero configuration build tool for the web. 📦🚀☆44,023Jun 15, 2026Updated 2 weeks ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Lightweight fuzzy-search, in JavaScript☆20,347Jun 22, 2026Updated last week
- 🌐 Human-friendly and powerful HTTP request library for Node.js☆14,914Jun 21, 2026Updated last week
- ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.☆38,713Updated this week
- A React framework for building text editors.☆22,637Feb 6, 2023Updated 3 years ago
- A logger for just about everything.☆24,481Jun 22, 2026Updated last week
- Help secure Express apps with various HTTP headers☆10,694Jun 21, 2026Updated last week
- 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.☆25,786Jul 30, 2024Updated last year