npm package
Home@types/trusted-types
The @types/trusted-types package provides TypeScript definitions for the Trusted Types API, which helps prevent cross-site scripting (XSS) attacks by enforcing a policy for creating and using DOM elements. It is useful in applications that require enhanced security measures against XSS vulnerabilities. This package fits into applications that leverage TypeScript and need to implement Trusted Types for safer DOM manipulation.
- lurq health score
- 60/100
- Confidence
- unproven
- Weekly downloads
- 58,838,871
- Latest version
- 2.0.7
- Last release
- Sep 4, 2019
- License
- MIT
Should you depend on @types/trusted-types?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks @types/trusted-types at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.