{"id":13680605,"url":"https://github.com/desktop/registry-js","last_synced_at":"2025-05-16T04:03:44.290Z","repository":{"id":40827501,"uuid":"111162247","full_name":"desktop/registry-js","owner":"desktop","description":"A simple and opinionated library for working with the Windows registry","archived":false,"fork":false,"pushed_at":"2024-03-05T15:45:41.000Z","size":4904,"stargazers_count":163,"open_issues_count":22,"forks_count":51,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-05-08T23:43:56.550Z","etag":null,"topics":["nodejs","registry","typescript","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","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/desktop.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":"2017-11-18T00:03:25.000Z","updated_at":"2025-04-25T16:46:47.000Z","dependencies_parsed_at":"2024-03-05T16:58:55.582Z","dependency_job_id":"261d003c-3e0f-47e0-a794-a54bae18ef4b","html_url":"https://github.com/desktop/registry-js","commit_stats":{"total_commits":323,"total_committers":22,"mean_commits":"14.681818181818182","dds":0.6191950464396285,"last_synced_commit":"b91b28002d425121eb139f3b7b24de7c244f32b0"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop%2Fregistry-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop%2Fregistry-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop%2Fregistry-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/desktop%2Fregistry-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/desktop","download_url":"https://codeload.github.com/desktop/registry-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464891,"owners_count":22075570,"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":["nodejs","registry","typescript","windows"],"created_at":"2024-08-02T13:01:19.125Z","updated_at":"2025-05-16T04:03:44.239Z","avatar_url":"https://github.com/desktop.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# registry-js\n\n## A simple and opinionated library for working with the Windows registry\n\n## Goals\n\n* zero dependencies\n* faster than `reg.exe`\n* implement based on usage - don't replicate the registry API\n* leverage TypeScript declarations wherever possible\n\n**Note:** This is currently in preview, with support for features that GitHub\nDesktop and Atom require.\n\n## Install \n\n```shellsession\n$ npm install --save registry-js\n# or\n$ yarn add registry-js\n```\n\n## But Why?\n\nThe current set of libraries for interacting with the registry have some\nlimitations that meant we couldn't use it in GitHub Desktop:\n\n* [`windows-registry`](https://www.npmjs.com/package/windows-registry) depends\n  on `ffi` at runtime, which caused issues with webpack-ing, and was missing\n  APIs we needed.\n* [`winreg`](https://www.npmjs.com/package/winreg) depends on\n  `reg.exe` which breaks as soon as you enable \"Prevent access to registry\n  editing tools\" Group Policy rules (yes, even `QUERY` operations are caught by\n  this). More details about this can be found in\n  [desktop/desktop#3105](https://github.com/desktop/desktop/issues/3105).\n\nAfter exploring other options like invoking PowerShell - which was too slow - we\ndecided to write our own little library to do the stuff we require by invoking\nthe Win32 APIs directly.\n\n## Documentation\n\nSee the documentation under the\n[`docs`](https://github.com/desktop/registry-js/tree/master/docs) folder.\n\n## Supported versions\n\nEach release of `registry-js` includes prebuilt binaries for the versions of\nNode and Electron that are actively supported by these projects. Please refer\nto the release documentation for [Node](https://github.com/nodejs/Release) and\n[Electron](https://electronjs.org/docs/tutorial/support) to see what is\nsupported currently.\n\n## Contributing\n\nRead the [Setup](https://github.com/desktop/registry-js/blob/master/docs/index.md#setup)\nsection to ensure your development environment is setup for what you need.\n\nThis project isn't about implementing a 1-1 replication of the Windows registry\nAPI, but implementing just enough for whatever usages there are in the wild.\n\nIf you want to see something supported, open an issue to start a discussion\nabout it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesktop%2Fregistry-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdesktop%2Fregistry-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdesktop%2Fregistry-js/lists"}