windows-release
Version:
Get the name of a Windows version from the release number: `5.1.2600` → `XP`
50 lines (49 loc) • 885 B
JSON
{
"name": "windows-release",
"version": "7.1.1",
"description": "Get the name of a Windows version from the release number: `5.1.2600` → `XP`",
"license": "MIT",
"repository": "sindresorhus/windows-release",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./index.js"
},
"sideEffects": false,
"engines": {
"node": ">=20"
},
"scripts": {
"test": "xo && ava"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"os",
"win",
"win32",
"windows",
"operating",
"system",
"platform",
"name",
"title",
"release",
"version"
],
"dependencies": {
"powershell-utils": "^0.2.0"
},
"devDependencies": {
"ava": "^6.4.1",
"xo": "^1.2.2"
}
}