Blog Node.js Design patterns: Modules’ definitions In the last article we introduced Node.js module system, and we talked about require function that is used to load a module. Today, we will dive deeper into Node.js module system and we will put forward some module definition patterns.
Blog Node.js Design Patterns: The Module System By the end of this article, you will have an outstanding understanding of what happens behind the scene when we try to load a module using require function.