UNPKG
gatlingjs
Version:
latest (0.0.7)
0.0.7
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
A NodeJS wrapper for gatling - load testing tool
github.com/abhiche/gatlingjs
abhiche/gatlingjs
gatlingjs
/
src
/
utils
/
os.js
21 lines
(16 loc)
•
266 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class
OS
{
constructor
(
process
) {
this
.
process
= process; }
get
platform
() {
return
this
.
process
.
platform
; }
get
isWindows
() {
return
this
.
process
.
platform
===
'win32'
; }
//Todo
isLinux
(
) {}
//Todo
isMac
(
) {} }
export
default
OS
;