Spaces:
Sleeping
Sleeping
Download node_modules/cacache/lib/util/glob.js from omnitool-ai/omnitool_on_hf: direct link, hf CLI and curl.
- Browser
- Download file 222 Bytes
-
https://huggingface.co/spaces/omnitool-ai/omnitool_on_hf/resolve/main/node_modules/cacache/lib/util/glob.js
- Command line
-
hf download hf://spaces/omnitool-ai/omnitool_on_hf/node_modules/cacache/lib/util/glob.js
-
curl -L -o glob.js https://huggingface.co/spaces/omnitool-ai/omnitool_on_hf/resolve/main/node_modules/cacache/lib/util/glob.js
222 Bytes
| const { glob } = require('glob') | |
| const path = require('path') | |
| const globify = (pattern) => pattern.split(path.win32.sep).join(path.posix.sep) | |
| module.exports = (path, options) => glob(globify(path), options) | |