Skip to content

Commit

Permalink
doc: use Node.js instead of Node
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Trott authored and MylesBorins committed Nov 27, 2018
1 parent 48ce4a0 commit 9a4646e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion doc/api/cli.md
Expand Up @@ -465,7 +465,7 @@ if they had been specified on the command line before the actual command line
(so they can be overridden). Node will exit with an error if an option that is
not allowed in the environment is used, such as `-p` or a script file.

Node options that are allowed are:
Node.js options that are allowed are:
- `--enable-fips`
- `--force-fips`
- `--icu-data-dir`
Expand Down
2 changes: 1 addition & 1 deletion doc/api/documentation.md
Expand Up @@ -90,7 +90,7 @@ and is not available on Linux.

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

[submit an issue]: https://github.com/nodejs/node/issues/new
Expand Down
2 changes: 1 addition & 1 deletion doc/api/inspector.md
Expand Up @@ -121,7 +121,7 @@ session.post('Runtime.evaluate', { expression: '2 + 2' },
The latest version of the V8 inspector protocol is published on the
[Chrome DevTools Protocol Viewer][].

Node inspector supports all the Chrome DevTools Protocol domains declared
Node.js inspector supports all the Chrome DevTools Protocol domains declared
by V8. Chrome DevTools Protocol domain provides an interface for interacting
with one of the runtime agents used to inspect the application state and listen
to the run-time events.
Expand Down
5 changes: 3 additions & 2 deletions doc/api/modules.md
Expand Up @@ -375,8 +375,9 @@ example, then `require('./some-library')` would attempt to load:
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.
Expand Down
6 changes: 3 additions & 3 deletions doc/guides/node-postmortem-support.md
Expand Up @@ -15,8 +15,8 @@ Node always includes these constants in the final build.

### Node Debug Symbols

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

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

## Tools and References

Expand Down
6 changes: 3 additions & 3 deletions doc/node.1
Expand Up @@ -71,7 +71,7 @@ Print node's version.

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

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

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

.TP
Expand Down

0 comments on commit 9a4646e

Please sign in to comment.