loulijun2021
2023-12-29 d180226815a7436b6896e28ba9d0f5b369af9c06
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