---
title: "Discussion on \"What is Middleware in Express.js? What are the\ndifferent types of Middleware?\" | Hashnode"
description: "Discussion on \"What is Middleware in Express.js? What are the\ndifferent types of Middleware?\". Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function"
url: "https://hashnode.com/posts/what-is-middleware-in-expressjs-what-are-the-different-types-of-middleware/635133ab2a6de2c3bee401d4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What is Middleware in Express.js? What are the different types of Middleware?](https://rajamuhammadasher.com/what-is-middleware-in-expressjs-what-are-the-different-types-of-middleware?utm_source=hashnode&utm_medium=feed)

Middleware functions are functions that have access to the request object (req), the response object (res), and the next middleware function

Jul 11, 2022 · 1 min read · rajamuhammadasher.com  
Read the article

-   [#express](https://hashnode.com/tag/express)

## Written by

[Raja Muhammad Asher](https://hashnode.com/@rajamuhammadasher)

@rajamuhammadasher · USA

  
[View profile](https://hashnode.com/@rajamuhammadasher)

Full Stack Developer

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating &amp; making a difference

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
