npm package
Homesemver-truncate
semver-truncate is a utility for truncating semantic versioning (semver) strings to a specified level (major, minor, or patch). It is useful when you need to standardize version numbers by removing specific parts of the version. This package can fit into applications that manage versioning for dependencies or releases.
- lurq health score
- 45/100
- Confidence
- unproven
- Weekly downloads
- 4,443,516
- Latest version
- 3.0.0
- Last release
- Apr 28, 2021
- License
- MIT
Should you depend on semver-truncate?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks semver-truncate at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Upgrading semver-truncate
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 2.0.0 → 3.0.0diff ready
- 1.1.2 → 2.0.0being extracted
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 20, 2026; this page refreshes every 168 hours. Source repository.