lurq

npm package

Home

semver-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
47/100
Confidence
unproven
Weekly downloads
6,401,835
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

Other utility packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 2, 2026; this page refreshes every 24 hours. Source repository.