https://github.com/marco-souza/version
🦕 Deno script to manage semantic versioning
https://github.com/marco-souza/version
deno jsr semver semver-parser
Last synced: 6 months ago
JSON representation
🦕 Deno script to manage semantic versioning
- Host: GitHub
- URL: https://github.com/marco-souza/version
- Owner: marco-souza
- Created: 2024-09-03T16:39:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-10T18:38:36.000Z (almost 2 years ago)
- Last Synced: 2025-01-23T08:35:51.854Z (over 1 year ago)
- Topics: deno, jsr, semver, semver-parser
- Language: TypeScript
- Homepage: https://jsr.io/@m3o/version
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Semantic Version manager (`@m3o/version`)
[](https://jsr.io/@m3o)
[](https://jsr.io/@m3o/version)
[](https://jsr.io/@m3o/version/score)


A JavaScript and TypeScript library to manage semantic versions.
> about Semantic Versioning: https://semver.org
This is compatible with Node.js, Deno and Bun via [`jsr.io`](httos://jsr.io).
## Installation
```sh
# with Deno
deno add jsr:@m3o/version
# with node
npx jsr add @m3o/version
# with Bun
bunx jsr add @m3o/version
```
## Usage
As CLI tool:
```sh
deno install -A jsr:@m3o/version/main.ts
version patch # default is deno.json
version minor deno.jsonc
version minor package.json
version major package.json
```