@@ -295,6 +295,58 @@ The `MessagePort` class. See [`MessagePort`][] for more details.
295295
296296This variable may appear to be global but is not. See [ ` module ` ] [ ] .
297297
298+ ## ` navigator `
299+ <!-- YAML
300+ added: REPLACEME
301+ -->
302+
303+ > Stability: 1 - Experimental
304+
305+ An implementation of the [ Navigator API] [ ] . Similar to [ ` window.navigator ` ] [ ]
306+ in browsers.
307+
308+ ### ` navigator.deviceMemory `
309+ <!-- YAML
310+ added: REPLACEME
311+ -->
312+
313+ * {number}
314+
315+ The total amount of device memory in GiB, rounded to the nearest power of 2,
316+ between 0.25 and 8 GiB. Part of the [ Device Memory API] [ ] .
317+
318+ ``` js
319+ console .log (` This device has ${ navigator .deviceMemory } GiB of RAM` );
320+ ```
321+
322+ ### ` navigator.hardwareConcurrency `
323+ <!-- YAML
324+ added: REPLACEME
325+ -->
326+
327+ * {integer}
328+
329+ The number of logical processors.
330+
331+ ``` js
332+ console .log (` This device has ${ navigator .hardwareConcurrency } logical CPUs` );
333+ ```
334+
335+ ### ` navigator.platform `
336+ <!-- YAML
337+ added: REPLACEME
338+ -->
339+
340+ * {string}
341+
342+ A string identifying the operating system platform on which the Node.js process
343+ is running. For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and
344+ 'Win32' on Windows.
345+
346+ ``` js
347+ console .log (` This process is running on ${ navigator .platform } ` );
348+ ```
349+
298350## ` performance `
299351
300352The [ ` perf_hooks.performance ` ] [ ] object.
@@ -429,6 +481,8 @@ The object that acts as the namespace for all W3C
429481[ WebAssembly] [ webassembly-org ] related functionality. See the
430482[ Mozilla Developer Network] [ webassembly-mdn ] for usage and compatibility.
431483
484+ [ Device Memory API ] : https://w3c.github.io/device-memory/
485+ [ Navigator API ] : https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
432486[ `AbortController` ] : https://developer.mozilla.org/en-US/docs/Web/API/AbortController
433487[ `EventTarget` and `Event` API ] : events.md#event-target-and-event-api
434488[ `MessageChannel` ] : worker_threads.md#worker_threads_class_messagechannel
@@ -455,6 +509,7 @@ The object that acts as the namespace for all W3C
455509[ `setImmediate` ] : timers.md#timers_setimmediate_callback_args
456510[ `setInterval` ] : timers.md#timers_setinterval_callback_delay_args
457511[ `setTimeout` ] : timers.md#timers_settimeout_callback_delay_args
512+ [ `window.navigator` ] : https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
458513[ buffer section ] : buffer.md
459514[ built-in objects ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
460515[ module system documentation ] : modules.md
0 commit comments