get-active-steam-user

1.0.1 • Public • Published

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' }

Package Sidebar

Install

npm i get-active-steam-user

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • zurky