Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance
☆4,107Feb 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,536Updated this week
- ⏳ Modern JavaScript date utility library ⌛️☆36,654Oct 26, 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,858Updated this week
- The most powerful data validation library for JS☆21,169Nov 4, 2026Updated last week
- String validation☆23,744Sep 11, 2026Updated 2 months ago
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository.☆36,030Updated this week
- A JavaScript implementation of various web standards, for use with Node.js☆21,755Updated this week
- A tiny (118 bytes), secure, URL-friendly, unique string ID generator for JavaScript☆27,134Nov 5, 2026Updated last week
- ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API☆48,648Nov 6, 2026Updated last week
- A markdown parser and compiler. Built for speed.☆37,309Updated this week
- The fast, flexible, and elegant library for parsing and manipulating HTML and XML.☆30,543Updated this week
- Loads environment variables from .env for nodejs projects.☆20,568Nov 9, 2026Updated last week
- The fast & forgiving HTML and XML parser☆4,792Updated this week
- Next-generation ES module bundler☆26,307Updated this week
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- A document head manager for React☆17,435Jul 18, 2023Updated 3 years ago
- Create the next immutable state by mutating the current one☆29,002Nov 10, 2026Updated last week
- A completely customizable framework for building rich text editors. (Currently in beta.)☆31,746Updated this week
- Generate RFC-compliant UUIDs in JavaScript☆15,346Nov 1, 2026Updated 2 weeks ago
- Lightweight fuzzy-search, in JavaScript☆20,531Aug 9, 2026Updated 3 months ago
- Git hooks made easy 🐶 woof!☆35,394Mar 19, 2026Updated 7 months ago
- JavaScript API for Chrome and Firefox☆95,842Updated this week
- Minimal and efficient cross-platform file watching library☆12,270Nov 6, 2026Updated last week
- A logger for just about everything.☆24,527Jul 20, 2026Updated 3 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- React components for efficiently rendering large lists and tabular data☆27,067Updated this week
- Promise based HTTP client for the browser and node.js☆109,513Updated this week
- 🌲 super fast, all natural json logger☆18,302Updated this week
- The zero configuration build tool for the web. 📦🚀☆44,024Updated this week
- The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)☆14,881Sep 6, 2026Updated 2 months ago
- Dead simple Object schema validation☆23,647Updated this week
- A JavaScript library to position floating elements and create interactions for them.☆32,817Updated this week
- ⏱ A library for working with dates and times in JS☆16,455Aug 9, 2026Updated 3 months ago
- React Hooks for Data Fetching☆32,491Oct 16, 2026Updated last month
- End-to-end encrypted cloud storage - Proton Drive • AdSpecial offer: 40% Off Yearly / 80% Off First Month. Protect your most important files, photos, and documents from prying eyes.
- The monorepo home to all of the FormatJS related libraries, most notably react-intl.☆14,754Updated this week
- 💾 Offline storage, improved. Wraps IndexedDB, WebSQL, or localStorage using a simple but powerful API.☆25,801Jul 30, 2024Updated 2 years ago
- A simple javascript utility for conditionally joining classNames together☆17,773Nov 5, 2026Updated last week
- 🖍 Terminal string styling done right☆23,341Oct 22, 2026Updated 3 weeks ago
- A React framework for building text editors.☆22,547Feb 6, 2023Updated 3 years ago
- ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.☆39,009Updated this week
- Monitor for any changes in your node.js application and automatically restart the server - perfect for development☆26,666Nov 2, 2026Updated 2 weeks ago
Are these results useful?