I\'ve found the following contract in a Node.js module:
module.exports = exports = nano = function database_module(cfg) {...}
I wonder what
1.exports -> use as singleton utility 2. module-exports -> use as logical objects such as service , model etc