UNPKG
ice.fo.utils
Version:
latest (0.0.8)
0.0.8
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
ice.fo.utils
/
Glob
/
normalizePath.js
7 lines
(5 loc)
•
192 B
JavaScript
View Raw
1
2
3
4
5
6
7
import
path
from
'path'
;
export
default
function
normalizePath
(
value
) {
// Korean Windows PC has special sign as path slash
return
value.
replace
(
new
RegExp
(
`\\
${path.sep}
`
,
'g'
),
'/'
); }