Skip to content

Express middleware example that captures the routes response using express-mung

Notifications You must be signed in to change notification settings

pqzada/express-response-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Response Middleware ⚡

Simple express app that uses express-mug to capture the res.json content.

This is useful in case that you need to log a response and the final statusCode of the route is required.

More details about express-mug 👩‍💻: https://www.npmjs.com/package/express-mung

Install

To install just clone the repository and run:

yarn # to install dependencies
yarn dev # to run the server

About

Express middleware example that captures the routes response using express-mung

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published