New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

steamidconvert

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

steamidconvert

convert 64 bit steam id to text readable format

latest
Source
npmnpm
Version
0.2.4
Version published
Maintainers
1
Created
Source

SteamID Converter

A module for node that converts a 64bit SteamID to a text STEAM_x:y:z format and vice versa

npm install steamidconvert
var steam = require('steamidconvert')()

Convert SteamID into SteamID64

steam.convertTo64('STEAM_0:0:6114800') //76561197972495328

Convert SteamID64 into SteamID

steam.convertToText('76561197972495328') //STEAM_0:0:6114800

Convert Vanity into SteamID64

This is for converting custom URLs to SteamID64

//e.g. http://steamcommunity.com/id/panvertigo/
var steam = require('steamidconvert')(/*your steam api key*/)
steam.convertVanity('panvertigo', function(err, res) {
  if (err) console.log(err)
  else console.log(res) //76561198000670105
})

Convert old SteamID to new SteamID format

steam.convertToNewFormat('STEAM_0:0:6114800') //[U:1:12229600]

Keywords

steam

FAQs

Package last updated on 15 Jul 2015

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