{"repo":"ceifa/steamworks.js","free":true,"listed":false,"github":"https://github.com/ceifa/steamworks.js","clone":"git clone https://github.com/ceifa/steamworks.js.git","description":"A steamworks implementation for nw.js/electron games","language":"Rust","stars":622,"topics":["steamworks","electron","nwjs","javascript","nodejs"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Steamworks.js A modern implementation of the Steamworks SDK for HTML/JS and NodeJS based applications. Why I used greenworks for a long time and it's great, but I gave up for the following reasons. It's not being maintained anymore. It's not up to date. It's not context-aware. You have to build the binaries by yourself. Don't have typescript definitions. The API it's not trustful. The API implement callbacks instead of return flags or promises. I hate C++. API You can refer to the declarations file to check the API support and get more detailed documentation of each function. Installation To use steamworks.js you don't have to build anything, just install it from npm: Electron Steamworks.js is a native module and cannot be used by default in the renderer process. To enable the usage of native modules on the renderer process, the following configurations should be made on main.js : To make the steam overlay working, call the electronEnableSteamOverlay on the end of your main.js file: For the production build, copy the relevant distro files from sdk/redistributable bin/{YOUR DISTRO} into the root of your build. If you are using electron-forge, look for #75. How to build You only need to build if you are going to change something on steamworks.js code, if you are looking to just consume the library or use it in your game, refer to the installation section. Make sure you have the latest node.js, Rust and Clang. We also need Steam installed and running. Install dependencies with n","default_branch":null,"files":null,"tree":[],"storefront":"/r/ceifa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ceifa/steamworks.js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}