Files

9 lines
761 B
Markdown
Raw Permalink Normal View History

2023-01-02 04:47:46 +04:00
# 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:
2024-06-06 23:23:55 +01:00
- [@official@Modules: CommonJS modules](https://nodejs.org/api/modules.html#modules-commonjs-modules)
2025-03-23 19:55:24 +05:30
- [@article@CommonJS vs. ES Modules in Node.js](https://blog.logrocket.com/commonjs-vs-es-modules-node-js/)
2026-06-25 16:14:35 +02:00
- [@video@Modules in Node.js](https://www.youtube.com/watch?v=9Amxzvq5LY8&)