Skip to content

Commit 33053ec

Browse files
Trotttargos
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 <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>
1 parent ec009f6 commit 33053ec

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
@@ -553,7 +553,7 @@ if they had been specified on the command line before the actual command line
553553
(so they can be overridden). Node.js will exit with an error if an option
554554
that is not allowed in the environment is used, such as `-p` or a script file.
555555

556-
Node options that are allowed are:
556+
Node.js options that are allowed are:
557557
- `--enable-fips`
558558
- `--experimental-modules`
559559
- `--experimental-repl-await`

doc/api/documentation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pages (short for manual pages) which describe how the syscalls work.
8282

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

8888
[`'warning'`]: process.html#process_event_warning

doc/api/inspector.md

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

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

doc/api/modules.md

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

382383
If it is not found there, then it moves to the parent directory, and so
383384
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.js always includes these constants in the final build.
1515

1616
### Node.js 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
@@ -63,7 +63,7 @@ class ReqWrap : public AsyncWrap {
6363
```
6464

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

6868
## Tools and References
6969

doc/node.1

+3-3
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ Evaluate
246246
as JavaScript.
247247
.
248248
.It Fl h , Fl -help
249-
Print node command line options.
249+
Print Node.js command line options.
250250
The output of this option is less detailed than this document.
251251
.
252252
.It Fl i , Fl -interactive
@@ -263,7 +263,7 @@ Preload the specified
263263
at startup.
264264
Follows `require()`'s module resolution rules.
265265
.Ar module
266-
may be either a path to a file, or a node module name.
266+
may be either a path to a file, or a Node.js module name.
267267
.
268268
.It Fl v , Fl -version
269269
Print node's version.
@@ -309,7 +309,7 @@ process warnings are silenced.
309309
A space-separated list of command-line
310310
.Ar options ,
311311
which are interpreted as if they had been specified on the command-line before the actual command (so they can be overridden).
312-
Node will exit with an error if an option that is not allowed in the environment is used, such as
312+
Node.js will exit with an error if an option that is not allowed in the environment is used, such as
313313
.Fl -print
314314
or a script file.
315315
.

0 commit comments

Comments
 (0)