Summary
In this chapter, we have covered how modules work in Node.js, the differences between CJS and ESM, and how to interoperate between them.
Additionally, we have covered the core libraries of Node.js, how to use them, their structure, and the stability index. We listed the most important core libraries when starting out with Node.js and other libraries that become essential in more advanced projects.
Finally, we learned how to use the command-line options and environmental variables to modify the Node.js behavior.
In the next chapter, we will learn how to use the node.js package manager (npm) in depth. We will publish our first package and we will see how we can integrate the huge module ecosystem available for us in our Node.js projects.