使用方法: Semver 解析器
Semver 解析器 是一款免费在线开发者工具工具,可在浏览器中即时break a semantic version into major, minor, patch, prerelease and build metadata。粘贴数据、调整选项即可实时获得结果——无需安装、无需注册,任何数据都不会上传到服务器。
说明
Break a semantic version into major, minor, patch, prerelease and build metadata.
- 开发者工具
- 由于全部计算都在客户端完成,使用 API 密钥、令牌或私有日志等敏感数据处理时,Semver 解析器 同样安全。
使用方法
使用 Semver 解析器 只需三步:
- 将数据粘贴到输入框(或载入示例)。
- 根据目标格式或使用场景调整选项。
- 复制、下载或查看输出——输入时结果实时更新。
运行
示例
Shows every semver component and explains what each one is allowed to change.
输入
2.14.7-rc.3+build.20260911
输出
2.14.7-rc.3+build.20260911 major 2 incompatible API changes minor 14 backwards-compatible functionality patch 7 backwards-compatible bug fixes prerelease rc.3 lower precedence than the release build build.20260911 ignored when comparing precedence Valid semver 2.0.0: yes Precedence key: 2.14.7-rc.3
此输出由工具真实运行产生,并非人工编写。
使用场景
Semver 解析器 常见的使用场景:
- Break a semantic version into major, minor, patch, prerelease and build metadata.
参数说明
| key | 选项 | type | allowed | default | Semver 解析器 |
|---|---|---|---|---|---|
mode | Operation | select | parse (Parse and explain), compare (Compare two versions), bump (Bump a part), range (Test a range), sort (Sort a list) | — | parse |
b | Second version / range | text | — | 2.0.0 | — |
part | Bump part | select | major, minor, patch, premajor, preminor, prepatch, prerelease | — | — |
pre | Prerelease tag | text | — | beta | — |
输入: text · 输出: text · live: ✓
常见问题
什么是 Semver Parser?
Semver Parser 用于break a semantic version into major, minor, patch, prerelease and build metadata。它完全在浏览器内运行,数据保持私密。
Semver Parser 可以免费使用吗?
可以。Semver Parser 免费、无次数限制,无需注册或安装。
我的数据会被上传吗?
不会。所有处理都在本地浏览器完成,不会发送到任何服务器。
注意事项
- 全部计算在浏览器端完成,因此超大输入受限于标签页内存,而非服务器上传限制。
相关工具
Cron 表达式解析器Explain cron syntax and compute the next 10 run times.HTTP 状态 Code 查询表Search all HTTP status codes with meanings and usage notes.User-Agent 解析器Break a User-Agent string into browser, engine and OS.ASCII 字符表格Interactive reference of all 128 ASCII codes.Unicode 字符查询表Inspect code points, blocks and UTF encodings of any character..gitignore 生成器Assemble a .gitignore from curated stack templates.