{"id":22786146,"url":"https://github.com/itssimple/overwolf-get-supported-features","last_synced_at":"2025-03-30T15:42:25.861Z","repository":{"id":57317093,"uuid":"271519740","full_name":"itssimple/overwolf-get-supported-features","owner":"itssimple","description":"A small plugin to get the supported features for all games","archived":false,"fork":false,"pushed_at":"2021-04-07T13:04:44.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-01T15:03:59.371Z","etag":null,"topics":["overwolf"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/itssimple.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"itssimple","patreon":"nolifeking85"}},"created_at":"2020-06-11T10:40:25.000Z","updated_at":"2021-04-07T13:04:46.000Z","dependencies_parsed_at":"2022-08-25T21:11:33.697Z","dependency_job_id":null,"html_url":"https://github.com/itssimple/overwolf-get-supported-features","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itssimple%2Foverwolf-get-supported-features","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itssimple%2Foverwolf-get-supported-features/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itssimple%2Foverwolf-get-supported-features/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itssimple%2Foverwolf-get-supported-features/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itssimple","download_url":"https://codeload.github.com/itssimple/overwolf-get-supported-features/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246342707,"owners_count":20761938,"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":["overwolf"],"created_at":"2024-12-11T23:09:15.550Z","updated_at":"2025-03-30T15:42:25.837Z","avatar_url":"https://github.com/itssimple.png","language":"JavaScript","funding_links":["https://github.com/sponsors/itssimple","https://patreon.com/nolifeking85"],"categories":[],"sub_categories":[],"readme":"# Overwolf - Get supported features\n\nThis module lets you fetch the supported features that you can register for each game (that supports it).\n\nThis works best from within a Overwolf application, if you want to register actual features/events from games you play, it can't fetch events from i.e. the web.\n\n## How to use (in Overwolf applications)\n\nLoad the library either by importing it or loading it before the code that needs to use it.\n\n```js\n/* Don't register listeners like this.. */\noverwolf.games.onGameLaunched.addListener((info) =\u003e {\n  let supportedFeatures = overwolf.games.getSupportedFeatures(info.classId);\n  console.log(supportedFeatures); // { game: \"APEX\", events: [ ... all the events ] }\n});\n\n/* You can also fetch the supported features like this */\nlet supportedFeatures = overwolf.games.getSupportedFeatures(\n  OverwolfGameWithEventSupport.Overwatch\n);\n\n/* And if the plugin should be outdated on what features are available, you can always use this */\n\noverwolf.games.getSupportedFeaturesOnline(\n  OverwolfGameWithEventSupport.APEX,\n  (features) =\u003e {\n    console.log(features);\n  }\n);\n```\n\n## How to use (in javascript outside of Overwolf)\n\n```js\nlet {\n  getSupportedFeatures,\n  getSupportedFeaturesOnline,\n  OverwolfGameWithEventSupport,\n} = require(\"overwolf-games-features\");\n\nlet supportedFeatures = getSupportedFeatures(\n  OverwolfGameWithEventSupport.Overwatch\n);\n\nconsole.log(supportedFeatures);\n```\n\n## For more information about Overwolf and their applications\n\n**Developers** - Join their [Official Developer Discord](https://discord.gg/overwolf-developers)\n\n**End users** - Join their [Official Discord](https://discord.gg/overwolf)\n\n**Anyone with questions about this module**\n\nFeel free to join [my Discord](https://discord.gg/6fP8vWW)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitssimple%2Foverwolf-get-supported-features","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitssimple%2Foverwolf-get-supported-features","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitssimple%2Foverwolf-get-supported-features/lists"}