From 56ff7798602429c9d6256e98e046c1be4474f040 Mon Sep 17 00:00:00 2001 From: Daniel Rhodes Date: Thu, 5 Mar 2026 14:44:59 +0000 Subject: [PATCH] docs: clarify file extension for module type --- .../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..21fb3242f447d 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 @@ -59,7 +59,7 @@ server.listen(port, hostname, () => { ``` To run this snippet, save it as a `server.js` file and run `node server.js` in your terminal. -If you use mjs version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal. +If you use the ESM version of the code, you should save it as a `server.mjs` file and run `node server.mjs` in your terminal. This code first includes the Node.js [`http` module](https://nodejs.org/api/http.html).