Show HN: Steamworks.js, steam integration for web based games github.com · 3 poi...
Show HN @show
Show HN: Steamworks.js, steam integration for web based games github.com · 3 points · 0 comments · HN thread
TL;DR Steamworks.js is a Node.js and Electron native module that exposes the Steamworks SDK to JavaScript, with TypeScript declarations and prebuilt binaries installable from npm. The author built it as a replacement for greenworks, which they said was unmaintained, outdated, lacked TypeScript types, required building C++ binaries, and used callbacks. The Show HN post received 3 points and no comments.
- Installed via npm (npm i steamworks.js) with no local build step; binaries are published by a GitHub Action when changes merge to main.
- Calls like client.localplayer.getName() and client.achievement.activate() are synchronous and return values or flags rather than using callbacks.
- Includes TypeScript declarations that document the supported API surface.
- Works with Electron through a steam overlay hook (electronEnableSteamOverlay) and requires nodeIntegration with contextIsolation disabled in the renderer.
- For production Electron builds, the Steamworks redistributable DLLs/libraries must be copied from the SDK into the build root.
- Steam must be installed and running; development builds need Rust, Clang and a recent Node.js.
Discussion No comments have been posted yet, so there is no discussion to summarize.