From 4204acd83a20e67d6e3fa0e3e24bb45e885e059a Mon Sep 17 00:00:00 2001 From: Jed Hartman Date: Mon, 5 Jan 2026 17:52:15 -0800 Subject: [PATCH] Update introduction-to-nodejs.md Adding info about some terms that aren't explained anywhere in this intro tutorial page. Feel free to modify as desired--I just want this page to explain what CJS, ESM, and .mjs mean before using those terms. Signed-off-by: Jed Hartman --- .../pages/en/learn/getting-started/introduction-to-nodejs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md index 1014df5e53890..f41e6fb031bac 100644 --- a/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md +++ b/apps/site/pages/en/learn/getting-started/introduction-to-nodejs.md @@ -22,7 +22,7 @@ In Node.js the new ECMAScript standards can be used without problems, as you don ## An Example Node.js Application -The most common example Hello World of Node.js is a web server: +The most common example Hello World of Node.js is a web server. You can choose between two versions of this example: one using the CommonJS (CJS) module system, using the filename extension `.js` or `.cjs`, and another using the ES Modules (ESM) system, using the filename extension `.mjs`. For more information, see [Understanding MJS and CJS](https://rgbstudios.org/blog/modules-explained-mjs-cjs). ```cjs const { createServer } = require('node:http');