1 个仓库
Converting non-compliant version strings into valid semantic versions by extracting numeric patterns.
Distinct from Version String Extractions: Distinct from Version String Extractions: focuses on normalizing a string into a valid SemVer format rather than just pulling a substring.
Explore 1 awesome GitHub repository matching development tools & productivity · Version Coercion. Refine with filters or upvote what's useful.
node-semver 是一个根据语义化版本(Semantic Versioning)规范解析、比较和验证版本字符串的工具。它可用作版本范围评估器、比较库以及递增发布标识符的实用程序。 该项目包含一个版本强制转换工具,可从不符合规范的字符串中提取数字序列,以近似得到语义化版本。它还提供了通过递增主版本号、次版本号或修订号来计算下一个发布版本字符串的逻辑。 该库涵盖了广泛的版本管理功能,包括用于确定版本是否满足特定约束的范围分析、基于优先级的版本列表排序,以及对单个版本和版本范围的验证。
Extracts the first valid sequence of digits from non-compliant strings to approximate a semantic version.