https://github.com/plotdb/semver
semantic version parser and matcher
https://github.com/plotdb/semver
Last synced: 4 months ago
JSON representation
semantic version parser and matcher
- Host: GitHub
- URL: https://github.com/plotdb/semver
- Owner: plotdb
- Created: 2022-01-07T02:46:54.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-25T15:13:46.000Z (almost 4 years ago)
- Last Synced: 2025-02-26T08:35:18.484Z (about 1 year ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @plotdb/semver
semantic version utility.
(TBD) there has been some similar implementations. We probably should use them instead?
## Installation
npm install --save @plotdb/semver
## Usage
require! <[@plotdb/semver]>
semver.fit "1.5.0", "^1.3.2" # true
semver.fit "1.5.0", "~1.3.2" # false
## License
MIT