Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
validator
String validation and sanitization
dompurify
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
micromark-util-sanitize-uri
micromark utility to sanitize urls
escape-goat
Escape a string for use in HTML or the inverse
filenamify
Convert a string to a valid safe filename
cssfilter
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
sanitize-filename
Sanitize a string for use as a filename
sanitize-html
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
ultrahtml
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
express-validator
Express middleware for the validator module.
hast-util-sanitize
hast utility to sanitize nodes
isomorphic-dompurify
Makes it possible to use DOMPurify on server and client in the same way.
rehype-sanitize
rehype plugin to sanitize HTML
eslint-plugin-no-unsanitized
ESLint rule to disallow unsanitized code
parse-domain
Splits a hostname into subdomains, domain and (effective) top-level domains
xss-filters
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
read-env
Transform environment variables into JSON object with sanitized values.
schema-inspector
Schema-Inspector is a powerful tool to sanitize and validate JS objects.
vue-coerce-props
Coerce props to custom values