---
title: "Discussion on \"What you Export and Import using the Module Object in NodeJs\" | Hashnode"
description: "Discussion on \"What you Export and Import using the Module Object in NodeJs\". Module Object and What are Node Modules?\nIn NodeJs we have often used modules. A module is a global object that is accessible in any NodeJs file. Node Modules are simple or complex reusable codes which you can create by yourself, use in-built ones pr..."
url: "https://hashnode.com/posts/what-you-export-and-import-using-the-module-object-in-nodejs/5fd5cc5e27af2573958918fc"
---

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

Discussion

# [What you Export and Import using the Module Object in NodeJs](https://theodorejs.hashnode.dev/what-you-export-and-import-using-the-module-object-in-nodejs?utm_source=hashnode&utm_medium=feed)

Module Object and What are Node Modules? In NodeJs we have often used modules. A module is a global object that is accessible in any NodeJs file. Node Modules are simple or complex reusable codes which you can create by yourself, use in-built ones pr...

Dec 13, 2020 · 4 min read · theodorejs.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#modules](https://hashnode.com/tag/modules)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Theodore Kelechukwu Onyejiaku](https://hashnode.com/@JavaScriptar)

@JavaScriptar

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

Fullstack MERN Developer

## Responses 1

Markdown supported · ⌘↵ to post

[Osinachi Chukwujama](https://hashnode.com/@Vicradon)

[Dec 14, 2020](https://hashnode.com/posts/what-you-export-and-import-using-the-module-object-in-nodejs/5fd5cc5e27af2573958918fc/comment/5fd7ca9c2444ad0ea8512067)

Nice article. Learned something new about the `exports` object.

[Dec 14, 2020](https://hashnode.com/posts/what-you-export-and-import-using-the-module-object-in-nodejs/5fd5cc5e27af2573958918fc/comment/5fd7ca9c2444ad0ea8512067#reply-5fd7de2f2444ad0ea8512101)

Thanks. The exports object is very awesome. It's really worth knowing a little or more about it.
