Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.2% on proxy.golang.org
Top 4.2% dependent packages on proxy.golang.org
Top 2.9% dependent repos on proxy.golang.org

proxy.golang.org : github.com/jbowes/semver

Package semver provides semantic version and constraint parsing, comparison, and testing. There are many semver packages. This one aims to be the fastest at parsing and comparing values, with low memory usage. Versions can be compared with one another to determine which is newer. Constraints specify inclusions and exclusions of semver ranges that a given version must satisfy. Typically, constraints are used when expressing a dependency. Parsing of semver values, and comparison of them, strictly follows the rules outlined in Semantic Versioning 2.0.0 (https://semver.org). Constraint parsing and testing follows the syntax and semantics of npm version specifiers (https://semver.npmjs.com/). This behaviour is only what exists now; feature requests or contributions are welcome to expand on it! Internally during parsing, and when returning string representations, Constraints are normalized in their representation. Rules for normalization: Normalized constraints are not canonical. Two Constraints can have different normalized forms but still be equivalent.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/jbowes/semver
Keywords: go, golang, hacktoberfest, parser, ragel, semver, semver-parser
License: BSD-3-Clause
Latest release: over 2 years ago
First release: almost 3 years ago
Namespace: github.com/jbowes
Dependent packages: 2
Dependent repositories: 3
Stars: 7 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 26 days ago

    Loading...
    Readme
    Loading...