Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cure53/DOMPurify
/ index.ts
File
index.ts
typescript/esm/index.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
dompurify from
'dompurify'
;
2
3
dompurify.sanitize(
'<p>'
);
4
dompurify().sanitize(
'<p>'
);
Callers
nothing calls this directly
Calls
1
sanitize
Method · 0.80
Tested by
no test coverage detected