UNPKG
@applitools/jsdom
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
jsdom without canvas 19.0.0
jsdom/jsdom
@applitools/jsdom
/
lib
/
jsdom
/
living
/
navigator
/
NavigatorConcurrentHardware-impl.js
9 lines
(7 loc)
•
172 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
"use strict"
;
const
os =
require
(
"os"
);
exports
.
implementation
=
class
NavigatorConcurrentHardwareImpl
{
get
hardwareConcurrency
() {
return
os.
cpus
().
length
; } };