comver-to-semver
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

comver-to-semver

Converts a comver (compatible version) to a semver (semantic version).

npm 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'

License

MIT © Zoltan Kochan

Readme

Keywords

Package Sidebar

Install

npm i comver-to-semver

Weekly Downloads

48,992

Version

1.0.0

License

MIT

Unpacked Size

2.54 kB

Total Files

5

Last publish

Collaborators

  • zkochan