1.0.1 • Published 2 years ago

get-active-steam-user v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Installation

Install it from npm:

$ npm install get-active-steam-user

Quick Overview

This package iterates through all the saved accounts on your steam directory untill it finds the one that is logged in at that moment.

Usage

const getSteamUser = require("get-active-steam-user");
console.log(getSteamUser());

Output

If there is a user logged in:

{ steamId: '76562195370731059', name: 'sample_username', status: 'success' }

If there is no user logged in

{ status: 'error' }