odin-js-fundamentals-part-5/node_modules/semver/functions/major.js

4 lines
122 B
JavaScript
Raw Permalink Normal View History

2024-01-11 08:52:05 +00:00
const SemVer = require('../classes/semver')
const major = (a, loose) => new SemVer(a, loose).major
module.exports = major