{"id":18498454,"url":"https://github.com/xpodev/winreg-promise","last_synced_at":"2026-01-21T05:05:10.676Z","repository":{"id":257803076,"uuid":"864334193","full_name":"xpodev/winreg-promise","owner":"xpodev","description":"A promise-based wrapper around the winreg package","archived":false,"fork":false,"pushed_at":"2024-09-28T03:30:09.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T04:41:42.158Z","etag":null,"topics":["nodejs","promise","windows-registry","winreg"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/winreg-promise","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xpodev.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":"2024-09-28T00:49:16.000Z","updated_at":"2024-09-28T03:29:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"9d6b8bc6-0b48-4bd6-aeb3-071cdaefc31c","html_url":"https://github.com/xpodev/winreg-promise","commit_stats":null,"previous_names":["xpodev/winreg-promise"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/xpodev/winreg-promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Fwinreg-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Fwinreg-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Fwinreg-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Fwinreg-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xpodev","download_url":"https://codeload.github.com/xpodev/winreg-promise/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xpodev%2Fwinreg-promise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28627388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nodejs","promise","windows-registry","winreg"],"created_at":"2024-11-06T13:40:04.685Z","updated_at":"2026-01-21T05:05:10.671Z","avatar_url":"https://github.com/xpodev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winreg-promise\n\nA promise-based wrapper around the [winreg](https://www.npmjs.com/package/winreg) package.\n\nThis package omits the callback-based API of the original package in favor of promises.\n\nThe values returned by the promise-based API is the same as the callback-based API except that the error is thrown instead of being passed to the callback.\n\n## Installation\n\n```bash\nnpm install winreg-promise\n```\n\n## Usage\n\n```javascript\nconst Registry = require('winreg-promise');\n\nconst regKey = new Registry({\n  hive: winreg.HKCU,\n  key: '\\\\Software\\\\Microsoft\\\\Windows\\\\CurrentVersion\\\\Run'\n});\n\nasync function get() {\n  try {\n    const value = await regKey.get('MyApp');\n    console.log(value);\n  } catch (err) {\n    console.error(err);\n  }\n}\n\nasync function set() {\n  try {\n    await regKey.set('MyApp', winreg.REG_SZ, 'C:\\\\path\\\\to\\\\myapp.exe');\n  } catch (err) {\n    console.error(err);\n  }\n}\n```\n\n## License\n- This repository contains code under both the MIT License and the BSD 2-Clause License.\n- The original code by Paul Bottin is licensed under the BSD 2-Clause License.\n- All other code is licensed under the MIT License.\n\nSee [LICENSE](LICENSE) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpodev%2Fwinreg-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpodev%2Fwinreg-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpodev%2Fwinreg-promise/lists"}