comver-to-semver
Converts a comver (compatible version) to a semver (semantic version).
Installation
<npm|yarn|pnpm> add comver-to-semver
Usage
const comverToSemver = require('comver-to-semver')
comverToSemver('2.1')
//> '2.1.0'
comverToSemver('2')
//> '2.0.0'