mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
7 lines
162 B
Plaintext
7 lines
162 B
Plaintext
const parse = require('./parse')
|
|
const valid = (version, options) => {
|
|
const v = parse(version, options)
|
|
return v ? v.version : null
|
|
}
|
|
module.exports = valid
|