version-compare v1.1.0-next.1603944660.d9c02feda2128a9787a47e7ee7d6128ec49646a9
Comparator to determine if a version is less than, equivalent to, or greater than another version
Usage
import versionCompare from 'version-compare'
console.log(['1.1', '2', '1.0'].sort(versionCompare))
// 1.0, 1.1, 2npm
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:
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
4 years ago
5 years ago
5 years ago
5 years ago
14 years ago