sanitize-html
2.13.1Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Dependencies
postcss
^8.3.11
deepmerge
^4.2.2
htmlparser2
^8.0.0
parse-srcset
^1.0.2
is-plain-object
^5.0.0
escape-string-regexp
^4.0.0
mocha
dev^10.2.0
sinon
dev^9.0.2
eslint
dev^7.3.1
eslint-plugin-node
dev^11.1.0
eslint-plugin-import
dev^2.25.2
eslint-plugin-promise
dev^4.2.1
eslint-config-standard
dev^14.1.1
eslint-plugin-standard
dev^4.0.1
eslint-config-apostrophe
dev^3.4.0
Behavioural monitoring and security for npm packages
Monitor every change in your dependency tree and automatically block malicious packages from entering your codebase. Safeguard your projects by using lstn in GitHub.