Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/depthbomb/steamid

A library for parsing SteamIDs and rendering them to other formats.
https://github.com/depthbomb/steamid

Last synced: about 1 month ago
JSON representation

A library for parsing SteamIDs and rendering them to other formats.

Awesome Lists containing this project

README

        

# @depthbomb/steamid

A library for parsing SteamIDs and rendering them to other formats. This library is inspired by [@node-steam/id](https://github.com/node-steam/id) which is itself inspired by [node-steamid](https://github.com/DoctorMcKay/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](./tests/steamId.test.ts).

## Todo

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