xsspurify

1.1.9 • Public • Published

npm main versionDownloadsSizeOpen Source Love svg2

NPM

XSSPurify

Requirements

  • context-parser
  • css-js
  • cssfilter
  • nodejs

What Is XSSPurify?

XSSPurify is a super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.

XSS Examples: Examples

Input And Output

Input:
<output onclick="alert(1)"><b>Click Me</b></output>

Click Me

Output:
<b>Click Me</b>

Click Me

Readme

Keywords

Package Sidebar

Install

npm i xsspurify

Weekly Downloads

1

Version

1.1.9

License

ISC

Unpacked Size

89.9 kB

Total Files

24

Last publish

Collaborators

  • batdev0