---
title: "Discussion on \"What is the purpose of module.exports?\" | Hashnode"
description: "Discussion on \"What is the purpose of module.exports?\". module.exports is the object that's returned as the result of a require call. You can use it to export a single value or a list of values."
url: "https://hashnode.com/posts/what-is-the-purpose-of-moduleexports/63b18b7db31e41961eb310eb"
---

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

Discussion

# [What is the purpose of module.exports?](https://rajamuhammadasher.com/what-is-the-purpose-of-moduleexports?utm_source=hashnode&utm_medium=feed)

module.exports is the object that's returned as the result of a require call. You can use it to export a single value or a list of values.

Oct 4, 2022 · 1 min read · rajamuhammadasher.com  
Read the article

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

## Written by

[Raja Muhammad Asher](https://hashnode.com/@rajamuhammadasher)

@rajamuhammadasher · USA

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

Full Stack Developer

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, MySQL, MongoDB. Love collaborating &amp; making a difference

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
