# isomorphic-dompurify — card for AI agents

Server and client-side HTML sanitization using DOMPurify.

Category: Auth and security libraries · npm package `isomorphic-dompurify` · latest version 4.6.0 (checked 2026-11-01)
Install: `npm install isomorphic-dompurify`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 51.8 (#1762 of all tools, 63 of 141 in its category)
- Used in 26 public projects set up for AI coding agents (0.4%)
- Downloads last week: 8,890,907 (as of 2026-11-24), +41.0% over 4 weeks
- GitHub stars: 609 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
Tailwind Merge 88.5%, clsx 84.6%, Next.js 80.8%, Tailwind CSS 100.0%, Class Variance Authority 73.1%, Lucide React 76.9%

## Checked alternatives (same job)
- DOMPurify: https://agentgid.com/tools/dompurify/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/isomorphic-dompurify/
- Homepage: https://github.com/kkomelin/isomorphic-dompurify
- Repository: https://github.com/kkomelin/isomorphic-dompurify

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
