Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
cssfilter
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
di
Dependency Injection for Node.js. Heavily inspired by AngularJS.
xss
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
proxyquire
Proxies nodejs require in order to allow overriding dependencies during testing.
tsyringe
Lightweight dependency injection container for JavaScript/TypeScript
injection-js
Dependency Injection library for JavaScript and TypeScript
rewire
Easy dependency injection for node.js unit testing
mock-require
Simple, intuitive mocking of Node.js modules.
express-mongo-sanitize
Sanitize your express payload to prevent MongoDB operator injection.
didi
Dependency Injection for JavaScript
inversify-inject-decorators
Lazy evaluated property injection decorators for InversifyJS
rewiremock
Advanced dependency mocking device.
wipe-webpack-cache
Wipes webpack cache in a controled way.
ts-mock-imports
Intuitive mocking for Typescript class imports
ng-annotate
add, remove and rebuild angularjs dependency injection annotations
babel-plugin-angularjs-annotate
Babel plugin to add angularjs dependency injection annotations
wipe-node-cache
Wipes node.js cache in a controlled way.
difunc
Dependency Injection for JavaScript functions
sql-escape-string
Simple SQL string escape.
esmock
provides native ESM import and globals mocking for unit tests