An open API service indexing awesome lists of open source software.

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

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