A TypeScript library for handling semantic versioning with ease — parse, compare, match, and bump semver strings through a single ergonomic `SmartVersion` class.
## Issue Reporting and Security
For reporting bugs, issues, or security vulnerabilities, please visit [community.foss.global/](https://community.foss.global/). This is the central community hub for all issue reporting. Developers who sign and comply with our contribution agreement and go through identification can also get a [code.foss.global/](https://code.foss.global/) account to submit Pull Requests directly.
The package ships as an **ESM-only** module with TypeScript typings included. It targets modern Node.js and browser runtimes (bundled via esbuild/rollup/etc.).
Under the hood `@push.rocks/smartversion` wraps the battle-tested [`semver`](https://www.npmjs.com/package/semver) package, but hides the verbose functional API behind a friendly object-oriented surface. Instead of remembering `semver.gt`, `semver.lt`, `semver.satisfies`, `semver.minVersion`, and manually juggling SemVer instances, you get one class with expressive, strongly typed methods.
`fromFuzzyString` preserves the original range, so `getBestMatch` (below) can use it later to pick from a list of candidates. If the fuzzy string cannot be resolved to a minimum version, `fromFuzzyString` throws with a descriptive error.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.
This project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH or third parties, and are not included within the scope of the MIT license granted herein.
Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines or the guidelines of the respective third-party owners, and any usage must be approved in writing. Third-party trademarks used herein are the property of their respective owners and used only in a descriptive manner, e.g. for an implementation of an API or similar.
By using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.