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