Skip to content

Commit 01be946

Browse files
TrottMylesBorins
authored andcommitted
doc: edit module introduction
The module introduction includes some uninformative text and some repetitive text. Edit for clarity and brevity. PR-URL: #17463 Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Jon Moss <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 4fff2ab commit 01be946

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

doc/api/modules.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
66
77
<!--name=module-->
88

9-
Node.js has a simple module loading system. In Node.js, files and modules
10-
are in one-to-one correspondence (each file is treated as a separate module).
11-
12-
As an example, consider a file named `foo.js`:
9+
In the Node.js module system, each file is treated as a separate module. For
10+
example, consider a file named `foo.js`:
1311

1412
```js
1513
const circle = require('./circle.js');

0 commit comments

Comments
 (0)