For emxaple in these line of code below:
const fs = require('fs')
We get the object in module.export
, not the object in exports
of fs module.
But inside Express code, I see some assignment to exports
like below, I do not know the purpose of it and this is my question
exports.application = proto;
exports.request = req;
exports.response = res;
Please help to let me know if you have any ideas about this.