June 2025
Intermediate to advanced
837 pages
24h 50m
English
The whole is more than the sum of its parts.–Aristotle
The structure of Node.js is inspired by the Unix philosophy. In essence, this philosophy states that software should consist of components that focus on completing only one specific task. These components work together via interfaces to form the overall system. This idea runs through the entire structure of Node.js—from the core libraries to your own application. This chapter is designed to help you understand the Node.js module system and how you can use it when building your applications.
You can compare the structure of Node.js to an onion. The platform is made up of several layers, each of which serves a specific purpose. Figure 4.1 illustrates ...
Read now
Unlock full access