what is the difference between exports and module exports?
< 1 min readIn Node.js, the module.exports and exports variables are used to define the values that a module exports to be used by other modules. The module.exports variable is an object that represents the module itself. You can assign any value to module.exports, and that value will be returned when the module is required by another file….
