tiny-version-compare
Version:
Compare two software versions, with any number of points (<1KB)
45 lines (44 loc) • 874 B
JSON
{
"name": "tiny-version-compare",
"version": "4.0.0",
"description": "Compare two software versions, with any number of points (<1KB)",
"keywords": [
"browser",
"cmp",
"comparator",
"compare",
"comparison",
"greater",
"less",
"node",
"semver",
"sort",
"sorter",
"version"
],
"repository": "fregante/tiny-version-compare",
"funding": "https://github.com/sponsors/fregante",
"license": "MIT",
"author": "Federico Brigante <me@fregante.com> (https://fregante.com)",
"type": "module",
"main": "index.js",
"files": [
"index.js",
"index.d.ts"
],
"scripts": {
"test": "xo && ava && tsd"
},
"xo": {
"rules": {
"unicorn/no-array-callback-reference": "off",
"unicorn/prefer-number-properties": "off"
}
},
"devDependencies": {
"@sindresorhus/tsconfig": "^2.0.0",
"ava": "^4.0.1",
"tsd": "^0.19.1",
"xo": "^0.48.0"
}
}