From fa8c9286b57712b599fc00e2239fcfdf79e1deb8 Mon Sep 17 00:00:00 2001 From: Konv <82451257+kovsu@users.noreply.github.com> Date: Mon, 14 Nov 2022 01:01:41 +0800 Subject: [PATCH] doc: adjust wording to eliminate awkward typography PR-URL: https://github.com/nodejs/node/pull/45398 Reviewed-By: Rich Trott Reviewed-By: Jacob Smith --- doc/api/modules.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index 6f663d473c3602..2f0c8aff496b30 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -90,8 +90,8 @@ By default, Node.js will treat the following as CommonJS modules: * Files with an extension that is not `.mjs`, `.cjs`, `.json`, `.node`, or `.js` (when the nearest parent `package.json` file contains a top-level field [`"type"`][] with a value of `"module"`, those files will be recognized as - CommonJS modules only if they are being `require`d, not when used as the - command-line entry point of the program). + CommonJS modules only if they are being included via `require()`, not when + used as the command-line entry point of the program). See [Determining module system][] for more details.