title: express.js - how to intercept response.send() / response.json()
body: <p>Lets say I have multiple places where I call <code>response.send(someData)</code>. Now I want to create a single global interceptor where I catch all <code>.send</code> methods and make some changes to <code>someData</code>. Is there any way in express.js? (hooks, listeners, interceptors, ...)?</p>