{"id":51985769,"url":"https://github.com/node-3d/steam-api","last_synced_at":"2026-07-30T19:01:30.877Z","repository":{"id":371598825,"uuid":"1297675215","full_name":"node-3d/steam-api","owner":"node-3d","description":"Steam API bindings for Node.js","archived":false,"fork":false,"pushed_at":"2026-07-15T19:21:36.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-15T21:19:22.591Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/node-3d.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-11T18:06:13.000Z","updated_at":"2026-07-15T19:21:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/node-3d/steam-api","commit_stats":null,"previous_names":["node-3d/steam-api"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/node-3d/steam-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2Fsteam-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2Fsteam-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2Fsteam-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2Fsteam-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-3d","download_url":"https://codeload.github.com/node-3d/steam-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-3d%2Fsteam-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36088336,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-30T02:00:05.956Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-07-30T19:01:29.306Z","updated_at":"2026-07-30T19:01:30.848Z","avatar_url":"https://github.com/node-3d.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @node-3d/steam-api\n\nThis is a part of [Node3D](https://github.com/node-3d) project.\n\n[![NPM](https://badge.fury.io/js/@node-3d%2Fsteam-api.svg)](https://badge.fury.io/js/@node-3d%2Fsteam-api)\n[![Lint](https://github.com/node-3d/steam-api/actions/workflows/lint.yml/badge.svg)](https://github.com/node-3d/steam-api/actions/workflows/lint.yml)\n[![Test](https://github.com/node-3d/steam-api/actions/workflows/test.yml/badge.svg)](https://github.com/node-3d/steam-api/actions/workflows/test.yml)\n\n[WIP] Steamworks API bindings for Node.js.\n\n## Install\n\n```bash\nnpm install @node-3d/steam-api\n```\n\n\n\nPublished packages include prebuilt native binaries.\nA consumer install doesn't need a compiler or a local Steamworks SDK copy.\n\n## Example\n\n```ts\nimport { steam, update, user, utils } from '@node-3d/steam-api';\n\nconst result = steam.initEx();\n\nif (!result.ok) {\n\tthrow new Error(`Steamworks init failed: ${result.errorMessage}`);\n}\n\nconsole.log('app', utils.getAppId());\nconsole.log('user', user.getSteamId(), user.isLoggedOn() ? 'logged on' : 'offline');\n\nfor (const event of update()) {\n\tconsole.log(event);\n}\n```\n\n## API Surface\n\nThe initial binding covers lifecycle, callback pumping, basic app/user helpers,\nauth tickets, DLC metadata, and user stats/achievements.\n\n`steam`:\n\n- `steam.restartAppIfNecessary(appId)`\n- `steam.initEx()`\n- `init()`\n- `steam.shutdown()`\n- `steam.isSteamRunning()`\n- `steam.runCallbacks()`\n- `update()`\n- `steam.releaseCurrentThreadMemory()`\n\n`callbacks`:\n\n- `callbacks.pollCallbacks()`\n\n`user`:\n\n- `user.getSteamId()`\n- `user.isLoggedOn()`\n- `user.getAuthSessionTicket()`\n- `user.cancelAuthTicket(handle)`\n\n`utils`:\n\n- `utils.getAppId()`\n- `utils.getConnectedUniverse()`\n- `utils.getIpCountry()`\n- `utils.getServerRealTime()`\n- `utils.getSteamUiLanguage()`\n- `utils.isOverlayEnabled()`\n\n`apps`:\n\n- `apps.isSubscribed()`\n- `apps.isDlcInstalled(appId)`\n- `apps.getDlcDataByIndex(index)`\n\n`userStats`:\n\n- `userStats.getStatInt(name)`\n- `userStats.getStatFloat(name)`\n- `userStats.setStatInt(name, value)`\n- `userStats.setStatFloat(name, value)`\n- `userStats.getAchievement(name)`\n- `userStats.setAchievement(name)`\n- `userStats.clearAchievement(name)`\n- `userStats.storeStats()`\n- `userStats.resetAllStats(achievementsToo)`\n- `userStats.getAchievementAndUnlockTime(name)`\n\n`update()` runs Steam callbacks and returns queued typed callback payloads such\nas `userStatsReceived`, `userStatsStored`, and `userAchievementStored`.\n\n## Steamworks SDK Notice\n\nValve's Steamworks SDK files are not part of this repository.\nThis repository contains Node3D binding code only.\n\nMaintainers must provide the SDK separately under Valve's Steamworks\nterms when building native binaries.\n\nSee [BUILD.md](BUILD.md) for local and CI build setup.\n\n## Binary Origin\n\nRelease archives are built by this repository's public GitHub Actions workflows.\n\nAttestations: https://github.com/node-3d/steam-api/attestations\n\nTo verify a downloaded archive:\n\n```bash\ngh release download \u003ctag\u003e -R node-3d/steam-api -p \u003cplatform\u003e.gz\ngh attestation verify \u003cplatform\u003e.gz -R node-3d/steam-api\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2Fsteam-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-3d%2Fsteam-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-3d%2Fsteam-api/lists"}