{"id":20785930,"url":"https://github.com/kelpycode/getsteamfolders","last_synced_at":"2026-04-22T00:31:12.202Z","repository":{"id":75097019,"uuid":"605199545","full_name":"KelpyCode/getSteamFolders","owner":"KelpyCode","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-25T00:51:42.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T20:45:09.522Z","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/KelpyCode.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-22T16:52:59.000Z","updated_at":"2023-12-01T23:36:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"bc6fd63a-4305-49c6-a4b1-ecd07643b5f6","html_url":"https://github.com/KelpyCode/getSteamFolders","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"48895a29c9fefc4e7aa3331604b36fe55d536da8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelpyCode%2FgetSteamFolders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelpyCode%2FgetSteamFolders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelpyCode%2FgetSteamFolders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KelpyCode%2FgetSteamFolders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KelpyCode","download_url":"https://codeload.github.com/KelpyCode/getSteamFolders/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243129468,"owners_count":20241017,"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":"2024-11-17T14:49:38.875Z","updated_at":"2025-12-26T01:15:13.412Z","avatar_url":"https://github.com/KelpyCode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## getSteamFolders\r\n\r\n# Intro\r\nThis package helps finding all Steam folders, incase you want to look for game folders without any user input.\r\nNow dependency less!\r\n\r\n# Usage\r\n\r\nInstall the package using\r\n```\r\nnpm i getsteamfolders\r\n```\r\n\r\nImport the needed function\r\n```js\r\nimport * as steamFolders from 'getsteamfolders'\r\n```\r\n\r\nCall `getSteamMainLocation` to get the primary location and `getSteamLibraryLocations` to get all locations.\r\n\r\n# API\r\n\r\n\r\n### `getSteamMainLocation()`\r\n#### =\u003e ` Promise\u003cstring | false\u003e`\r\nReturns `false` if failed to resolve the path, otherwise returns the path of the main Steam installation path.\r\n\r\n```js\r\nconsole.log(await steamFolders.getSteamMainLocation())\r\n// -\u003e C:\\Program Files (x86)\\Steam\r\n```\r\n\r\n\r\n### `getSteamLibraryLocations()`\r\n#### =\u003e ` Promise\u003cstring[]\u003e`\r\nReturns all used Steam installation paths.\r\n```js\r\nconsole.log(await steamFolders.getSteamLibraryLocations())\r\n/* -\u003e [\r\n  'C:\\\\Program Files (x86)\\\\Steam',\r\n  'S:\\\\SteamLibrary',\r\n  'U:\\\\SteamLibrary'\r\n] */\r\n```\r\n### `getAllSteamGames()`\r\n#### =\u003e ` Promise\u003cRecord\u003cstring, string\u003e\u003e`\r\nGet all installed Steam games. Name is key, path is the value.\r\n\r\n```js\r\nconsole.log(await steamFolders.getAllSteamGames())\r\n\r\n/* -\u003e [\r\n  Mordhau: 'C:\\\\Program Files (x86)\\\\Steam\\\\steamapps\\\\common\\\\Mordhau',\r\n  Noita: 'C:\\\\Program Files (x86)\\\\Steam\\\\steamapps\\\\common\\\\Noita',\r\n  Northgard: 'C:\\\\Program Files (x86)\\\\Steam\\\\steamapps\\\\common\\\\Northgard',\r\n  skyrim: 'C:\\\\Program Files (x86)\\\\Steam\\\\steamapps\\\\common\\\\skyrim',\r\n  ProjectZomboid: 'S:\\\\SteamLibrary\\\\steamapps\\\\common\\\\ProjectZomboid',\r\n  ...\r\n] */\r\n```\r\n\r\n### `getSteamGameLocation(searchName: string, contains? = false)`\r\n#### =\u003e ` Promise\u003cfalse | string\u003e`\r\nGet the path of a specific game. If `contains` is set to `true`, it will lazily search for the game name in the list of all games. Search is always case insensitive and all spaces are removed.\r\n\r\n\r\n```js\r\nconsole.log(await steamFolders.getSteamGameLocation('survivalists', true))\r\n\r\n// -\u003e U:\\SteamLibrary\\steamapps\\common\\The Survivalists\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelpycode%2Fgetsteamfolders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelpycode%2Fgetsteamfolders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelpycode%2Fgetsteamfolders/lists"}