steamid-helpers

1.0.3 • Public • Published

node-steamid-helpers

Various convertation functions for Steam`s IDs.

Installation

  1. Install npm package:
npm install steamid-helpers
  1. Require the module in your code
let convert = require('steamid-helpers');

Methods

SteamIDtoPartnerID(steamid)

Converts SteamID64 to PartnerID (the one thats in the tradelink for example).

PartnerIDtoSteamID(partnerid)

Converts PartnerID to SteamID64

TradelinkToPartnerID(tradelink)

Converts tradelink (for example https://steamcommunity.com/tradeoffer/new/?partner=12345678&token=ABCDEFGH) to PartnerID

TradelinkToSteamID(tradelink)

Converts tradelink (for example https://steamcommunity.com/tradeoffer/new/?partner=12345678&token=ABCDEFGH) to SteamID64

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    391
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    391
  • 1.0.2
    1
  • 1.0.1
    1
  • 1.0.0
    1

Package Sidebar

Install

npm i steamid-helpers

Weekly Downloads

394

Version

1.0.3

License

MIT

Last publish

Collaborators

  • feed4rz