Truncate a semver version: 1.2.3 → 1.2.0
☆17Sep 18, 2026Updated last week
Alternatives and similar repositories for semver-truncate
Users that are interested in semver-truncate are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆23Sep 18, 2026Updated last week
- Get the URL from a web shortcut file☆15Aug 14, 2021Updated 5 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Sep 18, 2026Updated last week
- Regular expression for matching scoped npm package names☆28Sep 18, 2026Updated last week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Pretty UTC datetime: `2014-01-09 0601`☆31Sep 18, 2026Updated last week
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 5 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Sep 18, 2026Updated last week
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Sep 18, 2026Updated last week
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Sep 18, 2026Updated last week
- Get free disk space info from `df -kP`☆63Sep 18, 2026Updated last week
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆38Aug 9, 2021Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆24Sep 18, 2026Updated last week
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Lowercase the keys of an object☆42Sep 18, 2026Updated last week
- Create an array with values that are present in the first input array but not additional ones☆40Sep 18, 2026Updated last week
- Create a Vinyl file from an actual file☆44Sep 18, 2026Updated last week
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Sep 18, 2026Updated last week
- Check if a string is a scoped npm package name☆25Sep 18, 2026Updated last week
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Check if something is a generator function☆24Sep 18, 2026Updated last week
- Convert matching double-quotes to single-quotes: `I "love" unicorns` → `I 'love' unicorns`☆57Sep 18, 2026Updated last week
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- Get the passwd user entry from a username or uid☆31Sep 18, 2026Updated last week
- Strip a substring from the start/end of a string☆23Sep 18, 2026Updated last week
- Get the version of a binary in semver format☆43Sep 18, 2026Updated last week
- Get the UTI (Uniform Type Identifier) of a file on macOS☆25Oct 7, 2021Updated 4 years ago
- Check if a value is an error constructor☆14Apr 7, 2021Updated 5 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 5 years ago
- Get the path of the current directory in Finder (macOS)☆16Apr 15, 2021Updated 5 years ago
- Get a random key from an object