Package Exports
- semver-bounded
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (semver-bounded) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
semver-bounded

Determine whether a semver range is bounded
Install
$ npm install --save semver-bounded
Usage
var isBounded = require('semver-bounded')
isBounded.range('>2 <4') // => true
isBounded.range('>4') // => false
API
isBounded.range(range)
-> boolean
range
Required
Type: string
The semver range to test.
isBounded.comparators(comparators)
-> boolean
comparators
Required
Type: array[comparators]
An array of semver.Comparator
instances to test.
License
MIT © Ben Drucker