@ende/semver/types

ende add jsr:@ende/semver

Version 2026.10.15 on JSR.

Exports

  • Comparator — The shape of a valid SemVer comparator.
  • Operator — SemVer comparison operators.
  • Range — A type representing a semantic version range. The ranges consist of a nested array, which represents a set of OR comparisons while the inner array represents AND comparisons.
  • ReleaseType — The possible release types are used as an operator for the increment function and as a result of the difference function.
  • SemVer — A SemVer object parsed into its constituent parts.