{"id":13446511,"url":"https://github.com/sentialx/node-window-manager","last_synced_at":"2025-10-05T22:08:20.930Z","repository":{"id":49613218,"uuid":"145420615","full_name":"sentialx/node-window-manager","owner":"sentialx","description":"Manage windows in Windows, macOS and Linux using Node.js","archived":false,"fork":false,"pushed_at":"2024-06-01T17:38:00.000Z","size":373,"stargazers_count":416,"open_issues_count":20,"forks_count":62,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-11T03:01:43.355Z","etag":null,"topics":["cpp","library","linux","macos","native","nodejs","swift","typescript","window-manager","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/sentialx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"sentialx","patreon":"sentialx"}},"created_at":"2018-08-20T13:21:58.000Z","updated_at":"2025-04-25T02:35:58.000Z","dependencies_parsed_at":"2024-10-10T22:47:36.105Z","dependency_job_id":null,"html_url":"https://github.com/sentialx/node-window-manager","commit_stats":{"total_commits":263,"total_committers":9,"mean_commits":29.22222222222222,"dds":0.07224334600760451,"last_synced_commit":"2c0329cc5e584aee244240c492e948ef8c5fb3bb"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-window-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-window-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-window-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sentialx%2Fnode-window-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sentialx","download_url":"https://codeload.github.com/sentialx/node-window-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254509477,"owners_count":22082891,"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":["cpp","library","linux","macos","native","nodejs","swift","typescript","window-manager","windows"],"created_at":"2024-07-31T05:00:53.964Z","updated_at":"2025-10-05T22:08:15.881Z","avatar_url":"https://github.com/sentialx.png","language":"C++","funding_links":["https://github.com/sponsors/sentialx","https://patreon.com/sentialx"],"categories":["C++"],"sub_categories":[],"readme":"# node-window-manager\n\nManage windows in Windows, macOS and ~~Linux~~(WIP)\n\n# Install\n\nTo install this package, just run\n\n```bash\n$ npm install node-window-manager\n```\n\n# Quick start\n\nThe following example shows how to get the currently focused window's title and hide it.\n\n```javascript\nconst { windowManager } = require(\"node-window-manager\");\n\nconst window = windowManager.getActiveWindow();\n\n// Prints the currently focused window bounds.\nconsole.log(window.getBounds());\n\n// This method has to be called on macOS before changing the window's bounds, otherwise it will throw an error.\n// It will prompt an accessibility permission request dialog, if needed.\nwindowManager.requestAccessibility();\n\n// Sets the active window's bounds.\nwindow.setBounds({ x: 0, y: 0 });\n```\n\n# Documentation\n\nThe documentation and API references are located in the [`docs`](docs) directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fnode-window-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsentialx%2Fnode-window-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsentialx%2Fnode-window-manager/lists"}