Socket
Book a DemoInstallSign in
Socket

get-steam-user

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-steam-user

Retrieves the local steam users and steam ids on a windows machine

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
5
Maintainers
1
Weekly downloads
 
Created
Source

get-steam-user

retrieves a list of steam users and their steam ids from the local machine. perfect for desktop apps looking to get information about a steam user.

💿 Installation

npm i get-steam-user

📖 Usage

getUserInfo

[returns an array of users with usernames and steamids]

var gsu = require('get-steam-user');
gsu.getUserInfo(function(user_info){
   console.log(user_info); 
});

response

[ { steamid: 'xxxxxxxxxxxx', username: 'usename' } ]

getSteamId

[returns an array of users steamids]

var gsu = require('get-steam-user');
gsu.getSteamId(function(steamids){
   console.log(steamids); 
});

response

[ 'xxxxxxxxxxxx' ] //xs being the steam id

getUsername

[returns an array of usernames]

var gsu = require('get-steam-user');
gsu.getUsername(function(usernames){
   console.log(usernames); 
});

response

[ 'a_username' ]

Keywords

steam

FAQs

Package last updated on 26 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.