UNPKG

pnpm

Version:

Fast, disk space efficient package manager

7 lines (6 loc) 162 B
const parse = require('./parse') const valid = (version, options) => { const v = parse(version, options) return v ? v.version : null } module.exports = valid