Spaces:
Sleeping
Sleeping
Download src/node_modules/clean-css/lib/reader/normalize-path.js from PierreRouanet/gstreamer_test: direct link, hf CLI and curl.
- Browser
- Download file 198 Bytes
-
https://huggingface.co/spaces/PierreRouanet/gstreamer_test/resolve/main/src/node_modules/clean-css/lib/reader/normalize-path.js
- Command line
-
hf download hf://spaces/PierreRouanet/gstreamer_test/src/node_modules/clean-css/lib/reader/normalize-path.js
-
curl -L -o normalize-path.js https://huggingface.co/spaces/PierreRouanet/gstreamer_test/resolve/main/src/node_modules/clean-css/lib/reader/normalize-path.js
198 Bytes
| var UNIX_SEPARATOR = '/'; | |
| var WINDOWS_SEPARATOR_PATTERN = /\\/g; | |
| function normalizePath(path) { | |
| return path.replace(WINDOWS_SEPARATOR_PATTERN, UNIX_SEPARATOR); | |
| } | |
| module.exports = normalizePath; | |