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. |