Spaces:
Sleeping
Sleeping
Download node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js from imspsycho/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 505 Bytes
-
https://huggingface.co/spaces/imspsycho/ling-open-studio/resolve/main/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
- Command line
-
hf download hf://spaces/imspsycho/ling-open-studio/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
-
curl -L -o normalize-path-sep.js https://huggingface.co/spaces/imspsycho/ling-open-studio/resolve/main/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js
505 Bytes
| /** | |
| * For a given page path, this function ensures that there is no backslash | |
| * escaping slashes in the path. Example: | |
| * - `foo\/bar\/baz` -> `foo/bar/baz` | |
| */ "use strict"; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "normalizePathSep", { | |
| enumerable: true, | |
| get: function() { | |
| return normalizePathSep; | |
| } | |
| }); | |
| function normalizePathSep(path) { | |
| return path.replace(/\\/g, '/'); | |
| } | |
| //# sourceMappingURL=normalize-path-sep.js.map |