Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/depthbomb/steamid
- Owner: depthbomb
- License: mit
- Created: 2023-11-28T00:58:49.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-02-21T02:40:26.000Z (10 months ago)
- Last Synced: 2024-04-28T22:02:57.769Z (8 months ago)
- Language: TypeScript
- Size: 1.15 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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