1.1.0-next.1603944660.d9c02feda2128a9787a47e7ee7d6128ec49646a9 • Published 5 years ago

version-compare v1.1.0-next.1603944660.d9c02feda2128a9787a47e7ee7d6128ec49646a9

Weekly downloads
15,808
License
MIT
Repository
github
Last release
5 years ago

Comparator to determine if a version is less than, equivalent to, or greater than another version

Usage

Complete API Documentation.

import versionCompare from 'version-compare'
console.log(['1.1', '2', '1.0'].sort(versionCompare))
// 1.0, 1.1, 2

npm

Deno

import pkg from 'https://unpkg.com/version-compare@^1.1.0/edition-deno/index.ts'

Discover the release history by heading on over to the HISTORY.md file.

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

These amazing people are maintaining this project:

No sponsors yet! Will you be the first?

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Unless stated otherwise all works are:

and licensed under:

3.11.0

2 years ago

3.10.0

2 years ago

3.9.0

2 years ago

1.5.0

2 years ago

2.0.0

2 years ago

3.4.0

2 years ago

3.3.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.8.0

2 years ago

3.7.0

2 years ago

3.6.0

2 years ago

3.5.0

2 years ago

3.0.0

2 years ago

1.4.0

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago

0.1.0

14 years ago