Permalink
Browse files

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 <gpunathi@in.ibm.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
Trott authored and gibfahn committed Dec 5, 2017
1 parent 8ca12e2 commit c24fafa8812aadd139fee1c35cbee5074d3a19b8
Showing with 2 additions and 4 deletions.
  1. +2 −4 doc/api/modules.md
View
@@ -6,10 +6,8 @@
<!--name=module-->
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');

0 comments on commit c24fafa

Please sign in to comment.