Skip to content

Commit 8bb67a1

Browse files
Trottrvagg
authored andcommitted
doc: use Node.js instead of Node
Per branding guidelines from the Foundation, use Node.js and not Node. PR-URL: #23967 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Matheus Marchini <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 73e0bb1 commit 8bb67a1

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

doc/api/cli.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ if they had been specified on the command line before the actual command line
465465
(so they can be overridden). Node will exit with an error if an option that is
466466
not allowed in the environment is used, such as `-p` or a script file.
467467

468-
Node options that are allowed are:
468+
Node.js options that are allowed are:
469469
- `--enable-fips`
470470
- `--force-fips`
471471
- `--icu-data-dir`

doc/api/documentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ and is not available on Linux.
9090

9191
Most Unix syscalls have Windows equivalents, but behavior may differ on Windows
9292
relative to Linux and macOS. For an example of the subtle ways in which it's
93-
sometimes impossible to replace Unix syscall semantics on Windows, see [Node
93+
sometimes impossible to replace Unix syscall semantics on Windows, see [Node.js
9494
issue 4760](https://github.com/nodejs/node/issues/4760).
9595

9696
[submit an issue]: https://github.com/nodejs/node/issues/new

doc/api/inspector.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ session.post('Runtime.evaluate', { expression: '2 + 2' },
121121
The latest version of the V8 inspector protocol is published on the
122122
[Chrome DevTools Protocol Viewer][].
123123

124-
Node inspector supports all the Chrome DevTools Protocol domains declared
124+
Node.js inspector supports all the Chrome DevTools Protocol domains declared
125125
by V8. Chrome DevTools Protocol domain provides an interface for interacting
126126
with one of the runtime agents used to inspect the application state and listen
127127
to the run-time events.

doc/api/modules.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,9 @@ example, then `require('./some-library')` would attempt to load:
375375
If the module identifier passed to `require()` is not a
376376
[core](#modules_core_modules) module, and does not begin with `'/'`, `'../'`, or
377377
`'./'`, then Node.js starts at the parent directory of the current module, and
378-
adds `/node_modules`, and attempts to load the module from that location. Node
379-
will not append `node_modules` to a path already ending in `node_modules`.
378+
adds `/node_modules`, and attempts to load the module from that location.
379+
Node.js will not append `node_modules` to a path already ending in
380+
`node_modules`.
380381

381382
If it is not found there, then it moves to the parent directory, and so
382383
on, until the root of the file system is reached.

doc/guides/node-postmortem-support.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ Node always includes these constants in the final build.
1515

1616
### Node Debug Symbols
1717

18-
Node prefixes all postmortem constants with `nodedbg_`, and they complement V8
19-
constants by providing ways to inspect Node-specific structures, like
18+
Node.js prefixes all postmortem constants with `nodedbg_`, and they complement
19+
V8 constants by providing ways to inspect Node.js-specific structures, like
2020
`node::Environment`, `node::BaseObject` and its descendants, classes from
2121
`src/utils.h` and others. Those constants are declared in
2222
`src/node_postmortem_metadata.cc`, and most of them are calculated at compile
@@ -62,7 +62,7 @@ class ReqWrap : public AsyncWrap {
6262
```
6363

6464
There are also tests on `test/cctest/test_node_postmortem_metadata.cc` to make
65-
sure all Node postmortem metadata are calculated correctly.
65+
sure all Node.js postmortem metadata are calculated correctly.
6666

6767
## Tools and References
6868

doc/node.1

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Print node's version.
7171

7272
.TP
7373
.BR \-h ", " \-\-help
74-
Print node command line options.
74+
Print Node.js command line options.
7575
The output of this option is less detailed than this document.
7676

7777
.TP
@@ -93,7 +93,7 @@ Open the REPL even if stdin does not appear to be a terminal.
9393
.TP
9494
.BR \-r ", " \-\-require " " \fImodule\fR
9595
Preload the specified module at startup. Follows `require()`'s module resolution
96-
rules. \fImodule\fR may be either a path to a file, or a node module name.
96+
rules. \fImodule\fR may be either a path to a file, or a Node.js module name.
9797

9898
.TP
9999
.BR \-\-inspect \fI[=[host:]port]\fR
@@ -294,7 +294,7 @@ When set to \fI1\fR, the http2 module is suppressed.
294294
.BR NODE_OPTIONS =\fIoptions...\fR
295295
A space-separated list of command line options. \fBoptions...\fR are interpreted
296296
as if they had been specified on the command line before the actual command line
297-
(so they can be overridden). Node will exit with an error if an option that is
297+
(so they can be overridden). Node.js will exit with an error if an option that is
298298
not allowed in the environment is used, such as \fB-p\fR or a script file.
299299

300300
.TP

0 commit comments

Comments
 (0)