{"id":25191786,"url":"https://github.com/supertigerdev/active-window-listener","last_synced_at":"2025-05-07T21:42:08.837Z","repository":{"id":52220869,"uuid":"256562026","full_name":"SupertigerDev/active-window-listener","owner":"SupertigerDev","description":"Listen to active windows by specifying them","archived":false,"fork":false,"pushed_at":"2023-01-09T23:36:36.000Z","size":45,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T06:36:31.359Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SupertigerDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-17T17:01:15.000Z","updated_at":"2022-06-20T23:36:33.000Z","dependencies_parsed_at":"2023-02-08T16:00:59.662Z","dependency_job_id":null,"html_url":"https://github.com/SupertigerDev/active-window-listener","commit_stats":null,"previous_names":["supertigerr/active-window-listener","supertiger1234/active-window-listener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Factive-window-listener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Factive-window-listener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Factive-window-listener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupertigerDev%2Factive-window-listener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupertigerDev","download_url":"https://codeload.github.com/SupertigerDev/active-window-listener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238030269,"owners_count":19404859,"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":[],"created_at":"2025-02-09T22:36:38.348Z","updated_at":"2025-02-09T22:36:38.926Z","avatar_url":"https://github.com/SupertigerDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Active Window Listener\nListen to active windows by specifying them\n\nThis will be used in https://nertivia.tk (My chat web app project) in the future to show playing status and more!\n\n## Usage\n```js\nconst { ProcessListen } = require(\"active-window-listener\");\n\nconst listener = new ProcessListen([\"Discord.exe\", \"Telegram.exe\", \"Code.exe\"]);\n\nlistener.changed(data =\u003e {\n    console.log(\"Active: \", data)\n})\n```\nThis should output an object of Window Class properties. See the package used below to view the methods.\n\nThere is also a function to get windows that are opened. I needed to filter out some of the components from the \"Windows\" Directory in order to get the proper list.\n```js\nconst { getWindows } = require(\"active-window-listener\");\n\nconsole.log(getWindows())\n```\nThis should output an array of Window Class properties. See the package used below to view the methods.\n\n## Package used\nMainly used to get all the active window information.\nhttps://github.com/sentialx/node-window-manager/\nUsed to get File Description (Which is used to get the proper program name)\nhttps://www.npmjs.com/package/exiftool-vendored\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupertigerdev%2Factive-window-listener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupertigerdev%2Factive-window-listener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupertigerdev%2Factive-window-listener/lists"}