tech/webdev magazine

November 29, 2015

Understanding module.exports and exports in Node.js

Sunday, November 29, 2015 Teklinks

As developers, we often face situations where we need to use unfamiliar code. A question will arise during these moments. How much time should I invest in understanding the code that I’m about to use? A typical answer is learn enough to start coding; then explore that topic further when time permits. Well, the time has come to gain a better understanding of module.exports and exports in Node.js. Here’s what I have learned.

Full article