@@ -567,6 +567,33 @@ The `MessagePort` class. See [`MessagePort`][] for more details.
567567
568568This variable may appear to be global but is not. See [ ` module ` ] [ ] .
569569
570+ ## ` navigator `
571+
572+ <!-- YAML
573+ added: REPLACEME
574+ -->
575+
576+ > Stability: 1 - Experimental
577+ >
578+ > An implementation of the [ Navigator API] [ ] . Similar to [ ` window.navigator ` ] [ ]
579+ > in browsers.
580+
581+ ### ` navigator.platform `
582+
583+ <!-- YAML
584+ added: REPLACEME
585+ -->
586+
587+ * {string}
588+
589+ A string identifying the operating system platform on which the Node.js process
590+ is running. For example, it returns 'Linux' on Linux, 'Darwin' on macOS, and
591+ 'Win32' on Windows.
592+
593+ ``` js
594+ console .log (` This process is running on ${ navigator .platform } ` );
595+ ```
596+
570597## ` PerformanceEntry `
571598
572599<!-- YAML
@@ -980,6 +1007,7 @@ added: v18.0.0
9801007
9811008A browser-compatible implementation of [ ` WritableStreamDefaultWriter ` ] [ ] .
9821009
1010+ [ Navigator API ] : https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
9831011[ Web Crypto API ] : webcrypto.md
9841012[ `--no-experimental-fetch` ] : cli.md#--no-experimental-fetch
9851013[ `--no-experimental-global-customevent` ] : cli.md#--no-experimental-global-customevent
@@ -1037,6 +1065,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
10371065[ `setInterval` ] : timers.md#setintervalcallback-delay-args
10381066[ `setTimeout` ] : timers.md#settimeoutcallback-delay-args
10391067[ `structuredClone` ] : https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
1068+ [ `window.navigator` ] : https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
10401069[ buffer section ] : buffer.md
10411070[ built-in objects ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
10421071[ module system documentation ] : modules.md
0 commit comments