sanitize-html
2.13.0 latestClean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Analysed versions
80 versions
2.12.1
2.7.3
12.7.1
12.7.0
22.5.2
22.5.1
22.4.0
22.3.3
21.22.1
4
Loaded 10 of 80
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
Backlog
33 versions
Loaded 9 of 33
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.