@@ -583,6 +583,41 @@ The `MessagePort` class. See [`MessagePort`][] for more details.
583
583
584
584
This variable may appear to be global but is not. See [ ` module ` ] [ ] .
585
585
586
+ ## ` Navigator `
587
+
588
+ <!-- YAML
589
+ added: REPLACEME
590
+ -->
591
+
592
+ > Stability: 1 - Experimental
593
+
594
+ An implementation of the [ Navigator API] [ ] .
595
+
596
+ ## ` navigator `
597
+
598
+ <!-- YAML
599
+ added: REPLACEME
600
+ -->
601
+
602
+ > Stability: 1 - Experimental
603
+
604
+ An implementation of [ ` window.navigator ` ] [ ] .
605
+
606
+ ### ` navigator.hardwareConcurrency `
607
+
608
+ <!-- YAML
609
+ added: REPLACEME
610
+ -->
611
+
612
+ * {number}
613
+
614
+ The ` navigator.hardwareConcurrency ` read-only property returns the number of
615
+ logical processors available to the current Node.js instance.
616
+
617
+ ``` js
618
+ console .log (` This process is running on ${ navigator .hardwareConcurrency } ` );
619
+ ```
620
+
586
621
## ` PerformanceEntry `
587
622
588
623
<!-- YAML
@@ -998,6 +1033,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
998
1033
999
1034
[ CommonJS module ] : modules.md
1000
1035
[ ECMAScript module ] : esm.md
1036
+ [ Navigator API ] : https://html.spec.whatwg.org/multipage/system-state.html#the-navigator-object
1001
1037
[ Web Crypto API ] : webcrypto.md
1002
1038
[ `--no-experimental-fetch` ] : cli.md#--no-experimental-fetch
1003
1039
[ `--no-experimental-global-customevent` ] : cli.md#--no-experimental-global-customevent
@@ -1057,6 +1093,7 @@ A browser-compatible implementation of [`WritableStreamDefaultWriter`][].
1057
1093
[ `setInterval` ] : timers.md#setintervalcallback-delay-args
1058
1094
[ `setTimeout` ] : timers.md#settimeoutcallback-delay-args
1059
1095
[ `structuredClone` ] : https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
1096
+ [ `window.navigator` ] : https://developer.mozilla.org/en-US/docs/Web/API/Window/navigator
1060
1097
[ buffer section ] : buffer.md
1061
1098
[ built-in objects ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects
1062
1099
[ module system documentation ] : modules.md
0 commit comments