open-index/open-npm huggingface dataset:
npm package: @renovator/version
Description: A version of the verification tool
Author: Branlice
Latest version: 1.1.1

![Feature](./feature.png)
<br />
A semantic version comparison tool

## Install

```bash
pnpm install @renovator/version
```

## Feature

- [Only one API](#API)
- [Compare semantic versions](./example/index.html)
- [Support pre-release tags](./example/custom-prerelease.html)
- [Support custom pre-release tags](./example/custom-prerelease-validate.html)
- [Support custom verification](./example/complex.html)
- [Support CoreCode based definition extension](./example/completely-customized.html)

## API

- [API Documents](https://branlice.github.io/version/modules.html)

  ```typescript
  import { compare } from "@renovator/version";

  const version1 = "1.0.0";
  const version2 = "2.0.0";

  const result = compare(version1, version2);
  result.isGreater; // false
  result.status; // negative
  ```