{"id":15194402,"url":"https://github.com/rensatsu/node-win-reg-restart","last_synced_at":"2025-10-02T10:30:55.911Z","repository":{"id":45197873,"uuid":"395835480","full_name":"rensatsu/node-win-reg-restart","owner":"rensatsu","description":"A Node.js extension for registering applications for restart on Windows","archived":true,"fork":false,"pushed_at":"2022-01-01T12:52:12.000Z","size":407,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-16T08:16:33.451Z","etag":null,"topics":["node-module","nodejs","nodejs-modules","winapi","windows-10"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@rensatsu/win-reg-restart","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/rensatsu.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}},"created_at":"2021-08-14T00:09:24.000Z","updated_at":"2023-01-28T04:25:28.000Z","dependencies_parsed_at":"2022-09-02T07:01:21.049Z","dependency_job_id":null,"html_url":"https://github.com/rensatsu/node-win-reg-restart","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rensatsu%2Fnode-win-reg-restart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rensatsu%2Fnode-win-reg-restart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rensatsu%2Fnode-win-reg-restart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rensatsu%2Fnode-win-reg-restart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rensatsu","download_url":"https://codeload.github.com/rensatsu/node-win-reg-restart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234974703,"owners_count":18916128,"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":["node-module","nodejs","nodejs-modules","winapi","windows-10"],"created_at":"2024-09-27T23:00:25.852Z","updated_at":"2025-10-02T10:30:50.657Z","avatar_url":"https://github.com/rensatsu.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Register Application Restart\n\nA Node.js module that adds methods for invoking the WinAPI\n[`RegisterApplicationRestart`][reg-restart] and\n[`UnregisterApplicationRestart`][unreg-restart] methods.\n\nDue to limitations of these API methods, module may be incompatible\nwith some electron apps.\n\n## Usage\n\nInstall module using npm:\n```bash\nnpm i --save @rensatsu/win-reg-restart\n```\n\nRegister an application to be restarted on Windows restart:\n```javascript\nconst winRegRestart = require(\"@rensatsu/win-reg-restart\");\nconst result = winRegRestart.registerApplicationRestart(\"--minimized\");\nconsole.log({ result });\n```\n\n## Original code\n\nOriginal project: `node-windows-register-restart` by `kdelorey`.\n\nThis is a modified fork of the repository located [here][repo-original] licensed\nunder [MIT License][license-original].\n\n\u003c!-- Links --\u003e\n\n[reg-restart]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-registerapplicationrestart\n[unreg-restart]: https://docs.microsoft.com/en-us/windows/desktop/api/winbase/nf-winbase-unregisterapplicationrestart\n[repo-original]: https://github.com/kdelorey/node-windows-register-restart\n[license-original]: https://github.com/kdelorey/node-windows-register-restart/blob/f333b651503a9f8f4731870697fe8db4b0f3020f/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frensatsu%2Fnode-win-reg-restart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frensatsu%2Fnode-win-reg-restart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frensatsu%2Fnode-win-reg-restart/lists"}