Courses
Tutorials
Practice
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
NodeJS-Modules
2 posts
Recent Articles
Popular Articles
NodeJS Modules
Last Updated: 21 February 2025
In NodeJS, modules play an important role in organizing, structuring, and reusing code efficiently. A module is a self-contained block of code that can be exported and imp...
read more
Web Technologies
Picked
Node.js
Node.js-Basics
NodeJS-Modules
Difference Between Node Require and ES6 Import And Export
Last Updated: 18 February 2025
Importing modules makes your code reusable. NodeJS offers two ways to do this: CommonJS (require()) and ES6 modules (import/export). Both achieve the same goal—sharing cod...
read more
Huawei
Algorithms-Graph Traversals
Web Technologies
JavaScript
Picked
Scala-Arrays
Node.js
TCS-coding-questions
Volkswagen IT Services
ES6
NodeJS-Modules
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !