feige
2024-12-04 d10cfa799cfa059d21542369b37ba0b480babdc6
1
2
3
4
5
6
const parse = require('./parse')
const clean = (version, options) => {
  const s = parse(version.trim().replace(/^[=v]+/, ''), options)
  return s ? s.version : null
}
module.exports = clean