loulijun2021
2023-11-10 739a5b95e8799f370fc9079ab5f3a3f5aab1911a
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