Skip to content

package

sanitize-html

v2.18.2

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

node >=22.12.06 depscjsopen source
license
MIT
deps
6
unpacked
84.6 kB
files
4
node
>=22.12.0
npm install sanitize-html@2.18.2

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions.

Download trend unavailable.

compatibility

Runtime metadata.

node>=22.12.0
cjs
keywords

Tagged topics.

htmlparsersanitizersanitize