Download frontend/node_modules/semver/functions/clean.js from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/semver/functions/clean.js
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/semver/functions/clean.js
-
curl -L -o clean.js https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/semver/functions/clean.js
205 Bytes
| const parse = require('./parse') | |
| const clean = (version, options) => { | |
| const s = parse(version.trim().replace(/^[=v]+/, ''), options) | |
| return s ? s.version : null | |
| } | |
| module.exports = clean | |