get-egs-folders
v1.0.5
Published
[![NPM version](https://img.shields.io/npm/v/get-egs-folders?color=a1b858&label=)](https://www.npmjs.com/package/get-egs-folders)
Downloads
3
Readme
Get EGS folders
This lib is inspired by getSteamFolders.
Usage
Install package first:
# npm
npm i get-egs-folders
# Yarn
yarn add get-egs-folders
Import functions by named import:
import { getEgsMainLocation, getAllEgsGames } from 'get-egs-folders'
API
getAllEgsGames()
=> Promise<Record<string, { path: string; size: number; }>>
const games = await getAllEgsGames();
console.log(games['Fortnite']);