CommonJS (CJS) is Node.js's original module system. You'll encounter it in older code.
// Exporting
module.exports = { add, subtract };
// or
exports.add = add;
// Importing
const { add } = require("./math");
CJS is synchronous and mainly used server-side.