middleware examples Example: middleware app.use("/", (req, res, next) => { console.log("I am a middleaware") next() })