JSPM

semver-bounded

2.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 49
  • Score
    100M100P100Q75802F
  • License MIT

Determine whether a semver range is bounded

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 Build Status Greenkeeper badge

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