Frontend/25_01_07/mai/node_modules/semver/functions/clean.js
szabomarton 7f4a15b9c3 asd
2025-01-28 11:38:27 +01:00

7 lines
191 B
JavaScript

const parse = require('./parse')
const clean = (version, options) => {
const s = parse(version.trim().replace(/^[=v]+/, ''), options)
return s ? s.version : null
}
module.exports = clean