Files
developer-roadmap/roadmaps/nodejs/content/modules@mbGFT6S7mL3bHHEZv0_s2.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
761 B
Markdown

# Node.js Modules
We split our code into different files to maintain, organize and reuse code whenever possible. A module system allows us to split and include code and import code written by other developers whenever required. In simple terms, a module is nothing but a JavaScript file. Node.js has many built-in modules that are part of the platform and comes with Node.js installation, for example, HTTP, fs, path, and more.
Visit the following resources to learn more:
- [@official@Modules: CommonJS modules](https://nodejs.org/api/modules.html#modules-commonjs-modules)
- [@article@CommonJS vs. ES Modules in Node.js](https://blog.logrocket.com/commonjs-vs-es-modules-node-js/)
- [@video@Modules in Node.js](https://www.youtube.com/watch?v=9Amxzvq5LY8&)