Package Exports
- @moddota/find-steam-app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@moddota/find-steam-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
find-steam-app
Find location of an installed Steam app
Usage
const {
findSteam,
findSteamAppById,
findSteamAppByName,
findSteamAppManifest,
findSteamLibraries,
} = require('find-steam-app');
await findSteamAppById(570);
// => '/path/to/steam/steamapps/common/dota 2 beta'
await findSteamAppByName('dota 2 beta');
// => '/path/to/steam/steamapps/common/dota 2 beta'
await findSteam();
// => '/path/to/steam'
await findSteamLibraries();
// => ['/path/to/steam/steamapps', '/path/to/library/steamapps']
await findSteamAppManifest(570);
// => { appid: 570, Universe: 1, name: 'Dota 2', ... }For more information about manifest, see manifest.ts