Skip to content

Commit fb6e0d6

Browse files
tniessenMaledongXhmikosR
authored
Avoid using "Node" and "Node's" (#2914)
* Avoid using "Node" and "Node's" As per our branding guidelines, both should be avoided, and Node.js should be used instead. * zh-CN: change 'node' to 'Node.js' Co-authored-by: Maledong <52018749+MaledongGit@users.noreply.github.com> Co-authored-by: XhmikosR <xhmikosr@gmail.com>
1 parent 3be8c5b commit fb6e0d6

30 files changed

Lines changed: 144 additions & 144 deletions

locale/de/about/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ trademark: Trademark
66

77
# Über Node.js®
88

9-
Als asynchrone, Event-basierte Laufzeitumgebung wurde Node speziell für die
9+
Als asynchrone, Event-basierte Laufzeitumgebung wurde Node.js speziell für die
1010
Entwicklung von skalierbaren Netzwerkanwendungen entworfen. Im nachfolgenden
1111
"Hallo Welt"-Beispiel können viele Verbindungen gleichzeitig bearbeitet werden.
1212
Bei jeder neuen Anfrage wird die Callback-Funktion ausgeführt. Gibt es jedoch
13-
nichts zu tun, befindet sich Node im Ruhezustand.
13+
nichts zu tun, befindet sich Node.js im Ruhezustand.
1414

1515
```javascript
1616
const http = require('http');
@@ -34,32 +34,32 @@ bei denen Threads des Betriebssystems genutzt werden. Thread-basiertes
3434
Networking ist vergleichsweise ineffizient und sehr schwer umzusetzen.
3535
Zudem müssen sich Node-Nutzer nicht um Deadlocks im Prozess sorgen, da es
3636
keine Blockierung gibt. Fast keine Funktion in Node.js führt direkt I/O-Operationen aus, daher wird der Prozess nie blockiert. Da nichts blockiert,
37-
können mit Node sinnvoll skalierbare Systeme entwickelt werden.
37+
können mit Node.js sinnvoll skalierbare Systeme entwickelt werden.
3838

3939
Wenn einige dieser Konzepte unbekannt sind, gibt es hier einen Artikel zum Thema
4040
[blockierend vs. blockierungsfrei][] (auf Englisch).
4141

4242
---
4343

44-
Node ähnelt im Design und ist beeinflusst von Systemen wie Rubys
45-
"[Event Machine][]" oder Pythons "[Twisted][]". Node führt das Event-Modell noch
44+
Node.js ähnelt im Design und ist beeinflusst von Systemen wie Rubys
45+
"[Event Machine][]" oder Pythons "[Twisted][]". Node.js führt das Event-Modell noch
4646
etwas weiter. Die [Ereignisschleife][] ist ein Konstrukt direkt in der
4747
Laufzeitumgebung und wird nicht über eine Bibliothek eingebunden.
4848
In anderen Systemen ist immer ein blockierender
4949
Aufruf notwendig, um die Ereignisschleife zu starten. Üblicherweise wird das
5050
Verhalten in Callback-Funktionen am Anfang des Skripts definiert und am Ende wird
5151
mit einem blockierenden Aufruf wie `EventMachine::run()` ein Server gestartet.
52-
In Node gibt es keinen solchen Aufruf, um die Ereignisschleife zu starten.
53-
Node beginnt einfach mit der Ereignisschleife, nachdem das Eingabe-Skript
54-
ausgeführt wurde. Node verlässt die Ereignisschleife, wenn keine
52+
In Node.js gibt es keinen solchen Aufruf, um die Ereignisschleife zu starten.
53+
Node.js beginnt einfach mit der Ereignisschleife, nachdem das Eingabe-Skript
54+
ausgeführt wurde. Node.js verlässt die Ereignisschleife, wenn keine
5555
Callback-Funktionen mehr auszuführen sind. Dieses Verhalten ist wie bei
5656
Browser-JavaScript - die Ereignisschleife ist vor dem Nutzer versteckt.
5757

5858
HTTP ist ein Basiselement in Node, entworfen mit Fokus auf Streaming und
59-
geringe Latenz. Dadurch ist Node sehr gut als Grundlage für Web-Bibliotheken
59+
geringe Latenz. Dadurch ist Node.js sehr gut als Grundlage für Web-Bibliotheken
6060
oder Frameworks geeignet.
6161

62-
Dass Node ohne Threads entworfen ist, bedeutet nicht, dass man die Vorteile von
62+
Dass Node.js ohne Threads entworfen ist, bedeutet nicht, dass man die Vorteile von
6363
mehreren Kernen auf einer Maschine nicht ausnutzen kann. Untergeordnete Prozesse
6464
können mit der [`child_process.fork()`][] API gestartet werden und sie wurden so
6565
entworfen, dass man leicht mit ihnen kommunizieren kann. Auf der gleichen

locale/en/docs/guides/anatomy-of-an-http-transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ too, so consult the [API reference][].
5050
## Method, URL and Headers
5151

5252
When handling a request, the first thing you'll probably want to do is look at
53-
the method and URL, so that appropriate actions can be taken. Node makes this
53+
the method and URL, so that appropriate actions can be taken. Node.js makes this
5454
relatively painless by putting handy properties onto the `request` object.
5555

5656
```javascript

locale/en/docs/guides/backpressuring-in-streams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ a chunk of data were to fail to be properly received, the `Readable` source or
8888
properly destroy all the streams in a pipeline if one of them fails or closes,
8989
and is a must have in this case!
9090

91-
[`pump`][] is only necessary for Node.js 8.x or earlier, as for Node 10.x
91+
[`pump`][] is only necessary for Node.js 8.x or earlier, as for Node.js 10.x
9292
or later version, [`pipeline`][] is introduced to replace for [`pump`][].
9393
This is a module method to pipe between streams forwarding errors and properly
9494
cleaning up and provide a callback when the pipeline is complete.

locale/en/docs/guides/debugging-getting-started.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ activate the Inspector API.
2727

2828
Since the debugger has full access to the Node.js execution environment, a
2929
malicious actor able to connect to this port may be able to execute arbitrary
30-
code on behalf of the Node process. It is important to understand the security
30+
code on behalf of the Node.js process. It is important to understand the security
3131
implications of exposing the debugger port on public and private networks.
3232

3333
### Exposing the debug port publicly is unsafe
@@ -67,13 +67,13 @@ either the IP address or by using ssh tunnels as described below.
6767

6868
## Inspector Clients
6969

70-
Several commercial and open source tools can connect to Node's Inspector. Basic
71-
info on these follows:
70+
Several commercial and open source tools can connect to the Node.js Inspector.
71+
Basic info on these follows:
7272

7373
### [node-inspect](https://github.com/nodejs/node-inspect)
7474

7575
* CLI Debugger supported by the Node.js Foundation which uses the [Inspector Protocol][].
76-
* A version is bundled with Node and can be used with `node inspect myscript.js`.
76+
* A version is bundled with Node.js and can be used with `node inspect myscript.js`.
7777
* The latest version can also be installed independently (e.g. `npm install -g node-inspect`)
7878
and used with `node-inspect myscript.js`.
7979

@@ -112,7 +112,7 @@ info on these follows:
112112
### [Eclipse IDE](https://eclipse.org/eclipseide) with Eclipse Wild Web Developer extension
113113

114114
* From a .js file, choose "Debug As... > Node program", or
115-
* Create a Debug Configuration to attach debugger to running Node application (already started with `--inspect`).
115+
* Create a Debug Configuration to attach debugger to running Node.js application (already started with `--inspect`).
116116

117117
---
118118

@@ -193,8 +193,8 @@ tunnels instead. We provide the following example for illustrative purposes only
193193
Please understand the security risk of allowing remote access to a privileged
194194
service before proceeding.
195195

196-
Let's say you are running Node on remote machine, remote.example.com, that you
197-
want to be able to debug. On that machine, you should start the node process
196+
Let's say you are running Node.js on a remote machine, remote.example.com, that
197+
you want to be able to debug. On that machine, you should start the node process
198198
with the inspector listening only to localhost (the default).
199199

200200
```bash
@@ -217,8 +217,8 @@ which should be able to debug as if the Node.js application was running locally.
217217

218218
## Legacy Debugger
219219

220-
**The legacy debugger has been deprecated as of Node 7.7.0. Please use --inspect
221-
and Inspector instead.**
220+
**The legacy debugger has been deprecated as of Node.js 7.7.0. Please use
221+
`--inspect` and Inspector instead.**
222222

223223
When started with the **--debug** or **--debug-brk** switches in version 7 and
224224
earlier, Node.js listens for debugging commands defined by the discontinued
@@ -230,9 +230,9 @@ The V8 Debugging Protocol is no longer maintained or documented.
230230

231231
### [Built-in Debugger](https://nodejs.org/dist/latest-v6.x/docs/api/debugger.html)
232232

233-
Start `node debug script_name.js` to start your script under Node's builtin
234-
command-line debugger. Your script starts in another Node process started with
235-
the `--debug-brk` option, and the initial Node process runs the `_debugger.js`
233+
Start `node debug script_name.js` to start your script under the builtin
234+
command-line debugger. Your script starts in another Node.js process started with
235+
the `--debug-brk` option, and the initial Node.js process runs the `_debugger.js`
236236
script and connects to your target.
237237

238238
### [node-inspector](https://github.com/node-inspector/node-inspector)

0 commit comments

Comments
 (0)