summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/api/modules.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 8b8a5d6591..e4bd745d7e 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -368,11 +368,11 @@ example, then `require('./some-library')` would attempt to load:
<!--type=misc-->
-If the module identifier passed to `require()` is not a native module,
-and does not begin with `'/'`, `'../'`, or `'./'`, then Node.js starts at the
-parent directory of the current module, and adds `/node_modules`, and
-attempts to load the module from that location. Node will not append
-`node_modules` to a path already ending in `node_modules`.
+If the module identifier passed to `require()` is not a
+[core](#modules_core_modules) module, and does not begin with `'/'`, `'../'`, or
+`'./'`, then Node.js starts at the parent directory of the current module, and
+adds `/node_modules`, and attempts to load the module from that location. Node
+will not append `node_modules` to a path already ending in `node_modules`.
If it is not found there, then it moves to the parent directory, and so
on, until the root of the file system is reached.