UNPKG
path2
Version:
latest (0.1.0)
0.1.0
Modular and extended version of `path` package
github.com/medikoo/path2
medikoo/path2
path2
/
is-windows.js
8 lines
(6 loc)
•
173 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
module
.
exports
= (
function
(
) {
if
(
typeof
process ===
'undefined'
)
return
false
;
if
(!process)
return
false
;
return
(process.
platform
===
'win32'
); }());