From 01be9462d5810f1e7f7667e26f3b895fa14d7906 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 4 Dec 2017 23:47:39 -0800 Subject: [PATCH] doc: edit module introduction MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The module introduction includes some uninformative text and some repetitive text. Edit for clarity and brevity. PR-URL: https://github.com/nodejs/node/pull/17463 Reviewed-By: Gireesh Punathil Reviewed-By: Tobias Nießen Reviewed-By: Richard Lau Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius Reviewed-By: Luigi Pinca Reviewed-By: Jon Moss Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- doc/api/modules.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index f9f311d241ce92..8ca81cbda2f42f 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -6,10 +6,8 @@ -Node.js has a simple module loading system. In Node.js, files and modules -are in one-to-one correspondence (each file is treated as a separate module). - -As an example, consider a file named `foo.js`: +In the Node.js module system, each file is treated as a separate module. For +example, consider a file named `foo.js`: ```js const circle = require('./circle.js');