The Brief interview question

Give an example of middleware in NodeJs.