Is it possible to get the current request object in node.js express without passing it around?
I'm looking for something like I know from the spring framework.
Something like:
var req = express.getCurrentRequest();
Is it possible to get the current request object in node.js express without passing it around?
I'm looking for something like I know from the spring framework.
Something like:
var req = express.getCurrentRequest();