{"id":20745641,"url":"https://github.com/keqingrong/win-release-id","last_synced_at":"2025-08-31T21:38:07.822Z","repository":{"id":83262000,"uuid":"122616945","full_name":"keqingrong/win-release-id","owner":"keqingrong","description":"Get the release id of the current Windows OS","archived":false,"fork":false,"pushed_at":"2021-10-17T06:28:31.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T08:23:50.857Z","etag":null,"topics":["release","release-id","version","windows"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/keqingrong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-02-23T12:11:34.000Z","updated_at":"2024-02-10T16:58:12.000Z","dependencies_parsed_at":"2023-04-20T11:19:56.794Z","dependency_job_id":null,"html_url":"https://github.com/keqingrong/win-release-id","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"8a2729fb1873d65b22813da8eef62fa00b9d2def"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keqingrong%2Fwin-release-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keqingrong%2Fwin-release-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keqingrong%2Fwin-release-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keqingrong%2Fwin-release-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keqingrong","download_url":"https://codeload.github.com/keqingrong/win-release-id/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253518941,"owners_count":21921074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["release","release-id","version","windows"],"created_at":"2024-11-17T07:21:36.892Z","updated_at":"2025-05-11T04:30:38.460Z","avatar_url":"https://github.com/keqingrong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# win-release-id\n\n[![npm version](https://img.shields.io/npm/v/win-release-id.svg)](https://www.npmjs.com/package/win-release-id)\n\n\u003e Get the release id of the current Windows OS\n\n## Installation\n\n```sh\nnpm install win-release-id\n```\n\n## Usage\n\n```js\nconst winReleaseId = require('win-release-id');\n\n// on Windows 10 20H2 Build 19042.572\nwinReleaseId();\n// =\u003e 2009\n\n// on Windows 10 v1607 Build 14393\nwinReleaseId();\n// =\u003e 1607\n\n// before 10 (Windows 7/8/8.1 etc.)\nwinReleaseId();\n// =\u003e -1\n\nwinReleaseId('10.0.16299.214');\n// =\u003e 1709\n\nwinReleaseId('6.1.7601');\n// =\u003e -1\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeqingrong%2Fwin-release-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeqingrong%2Fwin-release-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeqingrong%2Fwin-release-id/lists"}