Web Development Node.js Subjective
Aug 16, 2025

What are modules in Node.js? Explain built-in, local, and third-party modules.

Detailed Explanation
Modules are reusable blocks of code. Built-in: fs, http, path (core modules). Local: custom files using module.exports. Third-party: installed via npm. Each module has its own scope, preventing global pollution.
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback