Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
safe-buffer
Safer Node.js Buffer API
ssri
Standard Subresource Integrity library -- parses, serializes, generates, and verifies integrity metadata according to the SRI spec.
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
secure-json-parse
JSON parse with prototype poisoning protection
crypto-js
JavaScript library of crypto standards.
@noble/hashes
Audited & minimal 0-dependency JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF & Scrypt
tuf-js
JavaScript implementation of The Update Framework (TUF)
@tufjs/models
TUF metadata models
helmet
help secure Express/Connect apps with various HTTP headers
xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
cssfilter
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
express-rate-limit
Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.
@hapi/cryptiles
General purpose crypto utilities
super-regex
Make a regular expression time out if it takes too long to execute
isomorphic-dompurify
Makes it possible to use DOMPurify on server and client in the same way.
function-timeout
Make a synchronous function have a timeout
rate-limiter-flexible
Node.js rate limiter by key and protection from DDoS and Brute-Force attacks in process Memory, Redis, MongoDb, Memcached, MySQL, PostgreSQL, Cluster or PM
eslint-plugin-security
Security rules for eslint
csprng
Secure random numbers of any size in any base
@openzeppelin/contracts
Secure Smart Contract library for Solidity