JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 112
  • Score
    100M100P100Q72515F
  • License GPL-3.0

NPM library to get steamids of profile links/names and the other way around

Package Exports

  • steamid-resolver

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (steamid-resolver) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

node-steamid-resolver

NPM library to get steamids from profile links/names and the other way around.
Also includes function to return you all information returned by Steam from this page in a nice object format.

Install

Note: If you are here from GitHub Packages please use the npm package with the command below instead of the scoped GitHub command from above. It won't work.

Open a terminal in your project folder and type:
$ npm install steamid-resolver

You can then import the library in your code:

var steamidResolver = require("steamid-resolver")

Functions

steam64idToCustomUrl(steam64id, callback)

  • steam64id - The steam64id as String of the user you want to get the customURL of. Example: "76561198260031749"
  • callback - Called on error or success
    • err - A String detailing the reason of the failure or null on success
    • customURL - The customURL of the user or null on failure. Example on succes: "3urobeat"

customUrlToSteam64id(customURL, callback)

  • customURL - The customURL as String of the user you want to get the steam64id of. Example: "3urobeat" (coming from https://steamcommunity.com/id/3urobeat)
  • callback - Called on error or success
    • err - A String detailing the reason of the failure or null on success
    • steam64id - The steam64id of the user or null on failure. Example on succes: "76561198260031749"