Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matyrobbrt/semver-graaljs
Java bindings of the NPM semver library using graaljs
https://github.com/matyrobbrt/semver-graaljs
Last synced: 1 day ago
JSON representation
Java bindings of the NPM semver library using graaljs
- Host: GitHub
- URL: https://github.com/matyrobbrt/semver-graaljs
- Owner: Matyrobbrt
- License: mit
- Created: 2023-09-06T10:01:07.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-06T14:32:24.000Z (about 1 year ago)
- Last Synced: 2024-10-27T06:23:18.078Z (20 days ago)
- Language: Java
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# semver-graaljs
Java bindings of the NPM semver library using GraalJS## Installing
semver-graaljs can be found on Maven Central at `com.matyrobbrt:semver-graaljs`## Using
You can interact with the semver library using the `com.matyrobbrt.semver.SemverAPI` interface.
Example:
```java
SemverAPI.API.compare("1.0.0", "1.0.1") // -1
SemverAPI.API.satisfies("1.0.0", ">1.0.0") // false
SemverAPI.API.valid("1.0") // null
```