computer-scienceangular-roadmapbackend-roadmapblockchain-roadmapdba-roadmapdeveloper-roadmapdevops-roadmapfrontend-roadmapgo-roadmaphactoberfestjava-roadmapjavascript-roadmapnodejs-roadmappython-roadmapqa-roadmapreact-roadmaproadmapstudy-planvue-roadmapweb3-roadmap
|
3 years ago | |
---|---|---|
.. | ||
100-commonjs-vs-esm.md | 3 years ago | |
101-custom-modules.md | 3 years ago | |
102-global-keyword.md | 3 years ago | |
readme.md | 3 years ago |
readme.md
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.
Free Content Modules: CommonJS modules CommonJS vs. ES modules in Node.js More about modules Using Modules Modules in Node.js