@depthbomb/steamid
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@depthbomb/steamid

A library for parsing SteamIDs and rendering them to other formats. This library is inspired by @node-steam/id which is itself inspired by node-steamid.

Added Features

  • Rendering Steam invite codes and short profile URLs
  • Rendering to FiveM format
  • Parsing from FiveM format
  • Optional rendering to SteamID64 in hexadecimal format
  • Optional rendering to SteamID3 format without brackets

Usage

Basic usage can be seen in the tests.

Todo

  • More tests
  • Parsing invite codes/short profile URLs
  • Rendering to CS:GO friend code

/@depthbomb/steamid/

    Package Sidebar

    Install

    npm i @depthbomb/steamid

    Weekly Downloads

    10

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    35.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • depthbomb