https://github.com/scalacenter/versions
https://github.com/scalacenter/versions
parser semantic-versioning
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/scalacenter/versions
- Owner: scalacenter
- Created: 2017-02-01T11:59:34.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-26T13:17:06.000Z (almost 8 years ago)
- Last Synced: 2025-07-14T05:03:35.593Z (12 months ago)
- Topics: parser, semantic-versioning
- Language: Scala
- Size: 14.6 KB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
[](https://travis-ci.org/scalacenter/versions)
# Versions
```scala
libraryDependencies += "ch.epfl.scala" %% "versions" % "0.2.1"
```
```scala
import ch.epfl.scala.version._
val v1 = Version("1.0.0").get
val v2 = Version("2.0.0").get
v2 > v1 // true
```