https://github.com/ianlucas/cs2-lib-inspect
An extension for cs2-lib to create Counter-Strike 2 inspect links
https://github.com/ianlucas/cs2-lib-inspect
counter-strike-2 cs2 typescript
Last synced: 9 months ago
JSON representation
An extension for cs2-lib to create Counter-Strike 2 inspect links
- Host: GitHub
- URL: https://github.com/ianlucas/cs2-lib-inspect
- Owner: ianlucas
- License: mit
- Created: 2024-05-11T16:02:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T19:49:13.000Z (11 months ago)
- Last Synced: 2025-03-27T21:22:47.130Z (10 months ago)
- Topics: counter-strike-2, cs2, typescript
- Language: TypeScript
- Homepage: https://ianlucas.github.io/cs2-lib-inspect/
- Size: 218 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: License.txt
Awesome Lists containing this project
README
# cs2-lib-inspect
> An extension for cs2-lib to create Counter-Strike 2 inspect links
## Install
```bash
npm install @ianlucas/cs2-lib-inspect
```
## Usage
```typescript
import { CS2Economy } from "@ianlucas/cs2-lib";
import { generateInspectLink } from "@ianlucas/cs2-lib-inspect";
const link = generateInspectLink(CS2Economy.getById(307));
//=> "steam://rungame/730/76561202255233023/+csgo_econ_action_preview%2000180920D802280638004001B9A9F1D4"
```