{
 "kind": "tool",
 "slug": "isomorphic-dompurify",
 "path": "tools/isomorphic-dompurify/",
 "name": "isomorphic-dompurify",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Auth and security libraries",
   "tools/auth-security/"
  ]
 ],
 "lead": "Server and client-side HTML sanitization using DOMPurify.",
 "chips": [
  {
   "label": "Auth and security libraries",
   "path": "tools/auth-security/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install isomorphic-dompurify"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/kkomelin/isomorphic-dompurify"
  },
  {
   "label": "Website",
   "href": "https://github.com/kkomelin/isomorphic-dompurify"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/kkomelin/isomorphic-dompurify"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 18, 2026. ",
   "src": "https://github.com/kkomelin/isomorphic-dompurify"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "26 projects",
   "status": "info",
   "sub": "#25 of 141 in its category",
   "note": "Dependency in 26 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What isomorphic-dompurify does",
   "parts": [
    {
     "t": "prose",
     "text": "Server and client-side HTML sanitization using DOMPurify."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "isomorphic-dompurify popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "52",
       "of": "/ 100",
       "l": "Gid Score, #1762 overall"
      },
      {
       "n": "8.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "609",
       "l": "GitHub stars"
      },
      {
       "n": "26",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How isomorphic-dompurify is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "isomorphic-dompurify is a dependency in 26 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,867 JavaScript/TypeScript ones), #25 of 141 in auth and security libraries.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 62; those are left out of every share on this page.",
      "The most used alternative in our scan is DOMPurify (101 projects).",
      "Projects that use it most often also use Tailwind Merge (88.5%), clsx (84.6%), Next.js (80.8%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "19 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "9 projects, 0.4%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "6 projects, 1.3%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 88.5% of its projects",
       "v": "Tailwind Merge",
       "path": "tools/tailwind-merge/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "clsx",
       "path": "tools/clsx/"
      },
      {
       "l": "In 80.8% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 100.0% of its projects",
       "v": "Tailwind CSS",
       "path": "tools/tailwindcss/"
      },
      {
       "l": "In 73.1% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      },
      {
       "l": "In 76.9% of its projects",
       "v": "Lucide React",
       "path": "tools/lucide-react/"
      },
      {
       "l": "In 65.4% of its projects",
       "v": "Radix UI",
       "path": "tools/radix-ui/"
      },
      {
       "l": "In 84.6% of its projects",
       "v": "React",
       "path": "tools/react/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about isomorphic-dompurify",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/kkomelin",
        "Buy Me a Coffee: https://buymeacoffee.com/kkomelin"
       ]
      },
      {
       "title": "More in Auth and security libraries",
       "path": "tools/auth-security/",
       "items": [
        {
         "text": "bcryptjs",
         "path": "tools/bcryptjs/"
        },
        {
         "text": "NextAuth.js",
         "path": "tools/next-auth/"
        },
        {
         "text": "jsonwebtoken",
         "path": "tools/jsonwebtoken/"
        },
        {
         "text": "cryptography",
         "path": "tools/cryptography/"
        },
        {
         "text": "PyJWT",
         "path": "tools/pyjwt/"
        },
        {
         "text": "jose",
         "path": "tools/jose/"
        },
        {
         "text": "Better Auth",
         "path": "tools/better-auth/"
        },
        {
         "text": "Helmet",
         "path": "tools/helmet/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "isomorphic-dompurify",
       "me": true,
       "facts": [
        "MIT",
        "Gid 52",
        "8.9M/wk"
       ]
      },
      {
       "name": "DOMPurify",
       "why": "Fast XSS sanitizer for HTML, MathML and SVG protecting against injection attacks.",
       "path": "tools/dompurify/",
       "facts": [
        "(MPL-2.0 OR Apache-2.0)",
        "Gid 77",
        "107M/wk"
       ]
      }
     ],
     "more": "Compare isomorphic-dompurify with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install isomorphic-dompurify"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for isomorphic-dompurify yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm isomorphic-dompurify"
  ],
  [
   "Category",
   "Auth and security libraries"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "51.8"
  ],
  [
   "Rank in category",
   "#25 of 141"
  ],
  [
   "GitHub",
   "kkomelin/isomorphic-dompurify"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/kkomelin.png"
}