# CommonJS

The Node.js module format based on require() and module.exports.

## What is **CommonJS** in JavaScript?

**CommonJS** — The Node.js module format based on require() and module.exports.

```javascript
const reports = require("./reports.js");
module.exports = reports;
```

Level: Freelancer · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/commonjs
