node.js 181 B

123456789
  1. const semver = require('semver')
  2. const satisfies = (range) => {
  3. return semver.satisfies(process.version, range, { includePrerelease: true })
  4. }
  5. module.exports = {
  6. satisfies,
  7. }