@moddota/find-steam-app
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

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

Package Sidebar

Install

npm i @moddota/find-steam-app

Weekly Downloads

16

Version

1.1.0

License

MIT

Unpacked Size

11.9 kB

Total Files

11

Last publish

Collaborators

  • doctorgester
  • perryvw
  • sinz