- Node.js: exports vs module.exports
What is the difference between exports and module.exports in Node.js? Let's first take a look at what the module object is all about. Create a file named run.js with the following content.
- Node.js: Writing modules