Download frontend/node_modules/semver/functions/sort.js from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/semver/functions/sort.js
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/semver/functions/sort.js
-
curl -L -o sort.js https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/semver/functions/sort.js
161 Bytes
| const compareBuild = require('./compare-build') | |
| const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) | |
| module.exports = sort | |