---
title: "Discussion on \"Node.js - Node Module System\" | Hashnode"
description: "Discussion on \"Node.js - Node Module System\". What if we declare two functions in to different files with same name...?\nThere is chances of overriding the one function with other. To avoid this , node introduced the module system where every file is treated as module. we cant access the content ..."
url: "https://hashnode.com/posts/nodejs-node-module-system/5fad52d9fa438d6532c7e428"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Node.js - Node Module System](https://rupesh.hashnode.dev/nodejs-node-module-system?utm_source=hashnode&utm_medium=feed)

What if we declare two functions in to different files with same name...? There is chances of overriding the one function with other. To avoid this , node introduced the module system where every file is treated as module. we cant access the content ...

Nov 12, 2020 · 2 min read · rupesh.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#os](https://hashnode.com/tag/os)
-   [#http](https://hashnode.com/tag/http)
-   [#events](https://hashnode.com/tag/events)

## Written by

[Rupesh Patil](https://hashnode.com/@rupeshpatil0)

@rupeshpatil0

  
[View profile](https://hashnode.com/@rupeshpatil0)

SDET

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
