{"_id":"windows-release","_rev":"4539117","name":"windows-release","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","dist-tags":{"latest":"7.1.1"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2026-04-09T15:07:52.000Z","created":"2018-05-18T04:58:36.222Z","7.1.1":"2026-02-24T15:25:50.430Z","7.1.0":"2026-02-02T08:05:13.033Z","7.0.0":"2025-09-12T07:56:34.527Z","6.1.0":"2025-05-21T15:52:04.065Z","6.0.1":"2024-06-10T13:22:27.217Z","6.0.0":"2023-11-08T15:43:38.640Z","5.1.1":"2023-06-06T15:13:51.926Z","5.1.0":"2023-01-15T04:48:20.547Z","5.0.1":"2021-11-11T11:46:25.374Z","5.0.0":"2021-08-09T21:51:15.481Z","4.0.0":"2020-08-10T19:03:20.821Z","3.3.3":"2020-08-10T19:01:17.502Z","3.3.2":"2020-08-10T18:58:48.448Z","3.3.1":"2020-06-08T10:22:12.854Z","3.3.0":"2020-04-06T12:01:39.076Z","3.2.0":"2019-04-05T07:11:46.422Z","3.1.0":"2018-05-18T04:58:36.222Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"versions":{"7.1.1":{"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":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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"},"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"},"gitHead":"f766df6090a30b0cafca4da2e191386c8be626d9","types":"./index.d.ts","_id":"windows-release@7.1.1","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_nodeVersion":"25.6.0","_npmVersion":"11.8.0","dist":{"shasum":"a4d452a6614f6cefe04a112101aec27d502a9cae","size":3072,"noattachment":false,"key":"/windows-release/-/windows-release-7.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-7.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/windows-release_7.1.1_1771946750279_0.6892963184900225"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-24T15:25:50.430Z","publish_time":1771946750430,"_source_registry_name":"default","_cnpm_publish_time":1771946750430},"7.1.0":{"name":"windows-release","version":"7.1.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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"},"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"},"gitHead":"ebd8214e7ae5c5b27732dc480b11438a25c3f625","types":"./index.d.ts","_id":"windows-release@7.1.0","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"shasum":"91b42cc54ed8118a00f5945404b5ed199b4a6d01","size":3004,"noattachment":false,"key":"/windows-release/-/windows-release-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-7.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/windows-release_7.1.0_1770019512871_0.6836893036184073"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2026-02-02T08:05:13.033Z","publish_time":1770019513033,"_source_registry_name":"default","_cnpm_publish_time":1770019513033},"7.0.0":{"name":"windows-release","version":"7.0.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"devDependencies":{"ava":"^6.4.1","xo":"^1.2.2"},"_id":"windows-release@7.0.0","gitHead":"56c3121d6450f19f038647b1a14316b9bb3c2687","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"0d082250bf57f3e8be961a22a0a0a6fbc0538c62","size":3096,"noattachment":false,"key":"/windows-release/-/windows-release-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/windows-release_7.0.0_1757663794374_0.7390585678824038"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-09-12T07:56:34.527Z","publish_time":1757663794527,"_source_registry_name":"default","_cnpm_publish_time":1757663794527},"6.1.0":{"name":"windows-release","version":"6.1.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^8.0.1"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"_id":"windows-release@6.1.0","gitHead":"bf0228408aab1b1ae9eeac0fecde47261acf3398","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_nodeVersion":"20.19.1","_npmVersion":"10.9.2","dist":{"shasum":"cbe9fbcafbe25a2f94461096b725673a43394248","size":2720,"noattachment":false,"key":"/windows-release/-/windows-release-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-6.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/windows-release_6.1.0_1747842723532_0.9523953004277066"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-05-21T15:52:04.065Z","publish_time":1747842724065,"_source_registry_name":"default","_cnpm_publish_time":1747842724065},"6.0.1":{"name":"windows-release","version":"6.0.1","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^8.0.1"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"_id":"windows-release@6.0.1","gitHead":"4a728248a5741d4a551bb26f48f46c7461810a6d","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_nodeVersion":"20.12.2","_npmVersion":"10.6.0","dist":{"shasum":"9111c21fc5c3043fdb47b548df15ac14b94683b2","size":2718,"noattachment":false,"key":"/windows-release/-/windows-release-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-6.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_6.0.1_1718025747062_0.31356767789513174"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-10T13:22:27.217Z","publish_time":1718025747217,"_source_registry_name":"default","_cnpm_publish_time":1718025747217},"6.0.0":{"name":"windows-release","version":"6.0.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"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":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^8.0.1"},"devDependencies":{"ava":"^5.3.1","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"b3dedd4ac244d3186fa49e7a2fcb0444e521b985","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@6.0.0","_nodeVersion":"20.9.0","_npmVersion":"9.2.0","dist":{"shasum":"1d3ab78ecd60dbeca9b611969274de9abb74e0a5","size":2711,"noattachment":false,"key":"/windows-release/-/windows-release-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_6.0.0_1699458218383_0.8362399925470378"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-08T15:43:38.640Z","publish_time":1699458218640,"_source_registry_name":"default","_cnpm_publish_time":1699458218640},"5.1.1":{"name":"windows-release","version":"5.1.1","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^5.1.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"types":"./index.d.ts","gitHead":"fe35aa89cced95ec8ff6d1ee928b83cff8250888","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@5.1.1","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"shasum":"7ac7019f9baeaea6c00ec889b11824f46c12ee8d","size":2696,"noattachment":false,"key":"/windows-release/-/windows-release-5.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-5.1.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_5.1.1_1686064431777_0.2366401092132635"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-06T15:13:51.926Z","publish_time":1686064431926,"_source_registry_name":"default","_cnpm_publish_time":1686064431926},"5.1.0":{"name":"windows-release","version":"5.1.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^5.1.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"types":"./index.d.ts","gitHead":"06a43decd540ec2ea98508ddbe58938d8aa90b37","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@5.1.0","_nodeVersion":"14.21.1","_npmVersion":"8.19.2","dist":{"shasum":"fc56e8c53d970bd63ded965c85b2fbeacf7d80da","size":2697,"noattachment":false,"key":"/windows-release/-/windows-release-5.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-5.1.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_5.1.0_1673758100397_0.1319629951821275"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-01-15T04:48:20.547Z","publish_time":1673758100547,"_cnpm_publish_time":1673758100547},"5.0.1":{"name":"windows-release","version":"5.0.1","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^5.1.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"types":"./index.d.ts","gitHead":"edb4b7b5efc4c92bcd32d41701f6f727dff0c485","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@5.0.1","_nodeVersion":"12.22.1","_npmVersion":"8.1.0","dist":{"shasum":"d1f7cd1f25660ba05cac6359711844dce909a8ed","size":2924,"noattachment":false,"key":"/windows-release/-/windows-release-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_5.0.1_1636631185234_0.9012357485435685"},"_hasShrinkwrap":false,"publish_time":1636631185374,"_cnpm_publish_time":1636631185374},"5.0.0":{"name":"windows-release","version":"5.0.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^5.1.1"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"e155571bdaa59201c1f9a5ba78af9e55d539ec96","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@5.0.0","_nodeVersion":"12.22.1","_npmVersion":"6.14.12","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"43e0b2fa59a37ebc3c8f34db06ed838021d3b531","size":2776,"noattachment":false,"key":"/windows-release/-/windows-release-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-5.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_5.0.0_1628545875350_0.7846217850634982"},"_hasShrinkwrap":false,"publish_time":1628545875481,"_cnpm_publish_time":1628545875481},"4.0.0":{"name":"windows-release","version":"4.0.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^4.0.2"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.13.1","xo":"^0.33.0"},"gitHead":"6aeae881096dacdba381fe3f16495de58388f406","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@4.0.0","_nodeVersion":"14.5.0","_npmVersion":"6.14.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"4725ec70217d1bf6e02c7772413b29cdde9ec377","size":2826,"noattachment":false,"key":"/windows-release/-/windows-release-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_4.0.0_1597086200730_0.36969680929319226"},"_hasShrinkwrap":false,"publish_time":1597086200821,"_cnpm_publish_time":1597086200821},"3.3.3":{"name":"windows-release","version":"3.3.3","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"138a34491420ccab83cf67e31a3e11019c92ae37","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.3.3","_nodeVersion":"14.5.0","_npmVersion":"6.14.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1c10027c7225743eec6b89df160d64c2e0293999","size":2819,"noattachment":false,"key":"/windows-release/-/windows-release-3.3.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.3.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.3.3_1597086077363_0.6378400222450025"},"_hasShrinkwrap":false,"publish_time":1597086077502,"_cnpm_publish_time":1597086077502},"3.3.2":{"name":"windows-release","version":"3.3.2","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^4.0.2"},"devDependencies":{"ava":"^2.4.0","tsd":"^0.13.1","xo":"^0.33.0"},"gitHead":"aeed2f6e55cc939ae8bbd8a301d90401a853d2f9","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.3.2","_nodeVersion":"14.5.0","_npmVersion":"6.14.7","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ac137bb791ba7672b31d960d811dae765ad21e11","size":2825,"noattachment":false,"key":"/windows-release/-/windows-release-3.3.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.3.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.3.2_1597085928354_0.6802069134715378"},"_hasShrinkwrap":false,"publish_time":1597085928448,"_cnpm_publish_time":1597085928448},"3.3.1":{"name":"windows-release","version":"3.3.1","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"138a34491420ccab83cf67e31a3e11019c92ae37","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.3.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"cb4e80385f8550f709727287bf71035e209c4ace","size":2822,"noattachment":false,"key":"/windows-release/-/windows-release-3.3.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.3.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.3.1_1591611732665_0.09891874813879653"},"_hasShrinkwrap":false,"publish_time":1591611732854,"_cnpm_publish_time":1591611732854},"3.3.0":{"name":"windows-release","version":"3.3.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"39b78e784527b9202968bf518640283f57541fe1","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.3.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"dce167e9f8be733f21c849ebd4d03fe66b29b9f0","size":2822,"noattachment":false,"key":"/windows-release/-/windows-release-3.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.3.0_1586174498945_0.17546122507484974"},"_hasShrinkwrap":false,"publish_time":1586174499076,"_cnpm_publish_time":1586174499076},"3.2.0":{"name":"windows-release","version":"3.2.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd"},"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"a6e1ca4f8676f3cc9894ea2881b05dee5372336e","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.2.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8122dad5afc303d833422380680a79cdfa91785f","size":2461,"noattachment":false,"key":"/windows-release/-/windows-release-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.2.0_1554448306266_0.4478540093247101"},"_hasShrinkwrap":false,"publish_time":1554448306422,"_cnpm_publish_time":1554448306422},"3.1.0":{"name":"windows-release","version":"3.1.0","description":"Get the name of a Windows version from the release number: `5.1.2600` → `XP`","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/windows-release.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["os","win","win32","windows","operating","system","platform","name","title","release","version"],"dependencies":{"execa":"^0.10.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"e5cf59031b404a33277c04e9d5081961e4603e9d","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"homepage":"https://github.com/sindresorhus/windows-release#readme","_id":"windows-release@3.1.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8d4a7e266cbf5a233f6c717dac19ce00af36e12e","size":2344,"noattachment":false,"key":"/windows-release/-/windows-release-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/windows-release/download/windows-release-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/windows-release_3.1.0_1526619516128_0.09882388199810288"},"_hasShrinkwrap":false,"publish_time":1526619516222,"_cnpm_publish_time":1526619516222}},"readme":"# windows-release\n\n> Get the name of a Windows version from the release number: `5.1.2600` → `XP`\n\n## Install\n\n```sh\nnpm install windows-release\n```\n\n## Usage\n\n```js\nimport os from 'node:os';\nimport windowsRelease from 'windows-release';\n\n// On a Windows XP system\n\nwindowsRelease();\n//=> 'XP'\n\nos.release();\n//=> '5.1.2600'\n\nwindowsRelease(os.release());\n//=> 'XP'\n\nwindowsRelease('4.90.3000');\n//=> 'ME'\n```\n\n## API\n\n### windowsRelease(release?)\n\nReturns: `string | undefined`\n\nReturns the Windows version name, or `undefined` if the version is not recognized or does not exist.\n\n#### release\n\nType: `string`\n\nBy default, the current OS is used, but you can supply a custom release number, which is the output of [`os.release()`](https://nodejs.org/api/os.html#os_os_release).\n\nNote: Most Windows Server versions cannot be detected based on the release number alone. There is runtime detection in place to work around this, but it will only be used if no argument is supplied, or the supplied argument matches `os.release()`.\n\n## Related\n\n- [os-name](https://github.com/sindresorhus/os-name) - Get the name of the current operating system\n- [macos-release](https://github.com/sindresorhus/macos-release) - Get the name and version of a macOS release from the Darwin version\n","_attachments":{},"homepage":"https://github.com/sindresorhus/windows-release#readme","bugs":{"url":"https://github.com/sindresorhus/windows-release/issues"},"license":"MIT"}