sak0a

sak0a/cs2-inspect-lib

TypeScript library for CS2 inspect URLs: protobuf encoding/decoding, Steam client support, validation, CLI tool

TypeScript
6
1
MIT License

This is a TypeScript library for encoding and decoding Counter-Strike 2 inspect URLs, designed for developers building CS2 trading, analytics, or marketplace applications. It provides comprehensive protobuf support, Steam client integration, and extensive validation capabilities. The library offers three performance tiers: static methods for maximum speed (up to 90% faster than previous versions), convenience functions for optimized workflows, and standard instance methods for complex scenarios. Key features include a WeaponPaint enum with 1,800+ CS2 skin definitions, support for all CS2-specific fields like `highlight_reel` and `upgrade_level`, BigInt support for 64-bit integers, and robust error handling with actionable suggestions. The target audience includes CS2 developers, marketplace integrators, skin trading platforms, and analytics tools who need to work with inspect URLs for item verification, data extraction, or URL generation. The library handles both masked URLs (protobuf-encoded data) and unmasked URLs (Steam client-required links), making it suitable for both offline processing and real-time Steam integration.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

sak0a's profile
sak0a
35 contributions
claude's profile
claude
6 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet