
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
steam-mini-api
Advanced tools
Get a Steam API Key for the package.
# Install with npm
npm install steam-mini-api
import { SteamMini } from "steam-mini-api";
const steam = new SteamMini("<YOUR-STEAM-API-KEY>");
// Get info about a single steam user by their 64 bit steam id
const user = await steam.getUserInfo("<STEAM-USER-ID>");
// Get the user's most recently played games (default return limit is 1)
const recentlyPlayed = await steam.getRecentlyPlayedGames("<STEAM-USER-ID>", 4);
// Get topmost played games, sorted by playtime
const topGames = await steam.getMostPlayed("<STEAM-USER-ID>", 4, {
includePlayedFreeGames: false,
includeAppInfo: true,
});
Promise<Object>| Options | Type | Description |
|---|---|---|
| steamid | string | The 64 bit steam id of the player to get the info of. |
Promise<Array>| Options | Type | Description |
|---|---|---|
| steamid | string | The 64 bit steam id of the player to get the info of. |
| count | number | Count of recently played games to return. (Default: 3) |
Promise<Array>| Options | Type | Description |
|---|---|---|
| steamid | string | The Steam User ID of the player to get the info of. |
| count | number (1 <= n <= 10) | Count of recently played games to return. (Default: 3) |
| options.includePlayedFreeGames | boolean | Include free games if the player has played them. (Default: false) |
| options.includeAppInfo | boolean | Include game name and logo information in the output. (Default: true) |
Steam Mini is packaged and distributed using the MIT License which allows for commercial use, distribution, modification and private use provided that all copies of the software contain the same license and copyright.
FAQs
Simple Steam API wrapper exposing some useful methods
We found that steam-mini-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.