dotaver
v1.0.1
Published
Semver but for Dota 2 patch versions
Downloads
8
Maintainers
Readme
dotaver
Semver but for Dota 2 patch versions
Usage
npm i dotaver
yarn add dotaver
pnpm i dotaver
import { DotaVersion } from "dotaver"
const version = DotaVersion.parse("7.36b")
console.log(version.toString()) // "7.36b"
const otherVersion = DotaVersion.parse("7.37")
console.log(version.compare(otherVersion)) // 1