summaryrefslogtreecommitdiff
path: root/doc/api/modules.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-10-29 22:04:25 -0700
committerRich Trott <rtrott@gmail.com>2018-10-31 23:26:51 -0700
commit03f52524e413d5ec7fbb1aec4b63b4e262537021 (patch)
tree51d1e962ceaaf2ae0c74ab72676e19962cc60725 /doc/api/modules.md
parent51294c897f2836e3dd9e0b99319eec5a1df9e269 (diff)
downloadandroid-node-v8-03f52524e413d5ec7fbb1aec4b63b4e262537021.tar.gz
android-node-v8-03f52524e413d5ec7fbb1aec4b63b4e262537021.tar.bz2
android-node-v8-03f52524e413d5ec7fbb1aec4b63b4e262537021.zip
doc: use Node.js instead of Node
Per branding guidelines from the Foundation, use Node.js and not Node. PR-URL: https://github.com/nodejs/node/pull/23967 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Matheus Marchini <mat@mmarchini.me> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api/modules.md')
-rw-r--r--doc/api/modules.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/api/modules.md b/doc/api/modules.md
index 2475fa2755..c7d9d4b59c 100644
--- a/doc/api/modules.md
+++ b/doc/api/modules.md
@@ -376,8 +376,9 @@ Error: Cannot find module 'some-library'
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`.
+adds `/node_modules`, and attempts to load the module from that location.
+Node.js 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.