@motionpicture/express-middleware
v3.1.0
Published
Express middlewares for Node.js
Downloads
661
Readme
Express middlewares for Node.js
Table of contents
Usage
npm install @motionpicture/express-middleware
var middlewares = require('@motionpicture/express-middleware');
Environment variables
| Name | Required | Value | Purpose |
| ------- | -------- | -------------------- | ------- |
| DEBUG
| false | express-middleware:* | Debug |
Middlewares
| Name | Purpose | | ----------- | --------------------------------------------------------------------- | | cognitoAuth | Add an authentication using Amazon Cognito User Pools. | | rateLimit | Add a rate limiting using Redis Cache as request counting repository. |