All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.functions.satisfies.js Maven / Gradle / Ivy

There is a newer version: 7.6.3
Show newest version
const Range = require('../classes/range')
const satisfies = (version, range, options) => {
  try {
    range = new Range(range, options)
  } catch (er) {
    return false
  }
  return range.test(version)
}
module.exports = satisfies




© 2015 - 2024 Weber Informatics LLC | Privacy Policy