npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

steam-publisher-parser

v1.0.6

Published

A TypeScript parser for Steam Store publisher pages

Readme

Steam Store Parser

A TypeScript-based parser for Steam Store publisher pages that extracts game information including titles, genres, tags, screenshots, and videos.

Features

  • 🎮 Parse Steam publisher pages
  • 📊 Extract game titles, genres, tags, screenshots, and videos
  • 🖼️ Download original screenshots, videos, and thumbnails to organized folders
  • 📁 Generate structured JSON output
  • ⚡ Configurable concurrency and delays
  • 🛡️ Error handling and logging
  • 🎯 TypeScript support with full type safety
  • 📦 Available via NPX (no installation required)

Installation

npm i steam-publisher-parser

Usage

NPX Usage (No Installation Required)

# Using full URL
npx steam-publisher-parser https://store.steampowered.com/publisher/paradoxinteractive

# Using just publisher name (shorter!)
npx steam-publisher-parser paradoxinteractive

# URLs with trailing slashes, query strings, or hash fragments are handled gracefully
npx steam-publisher-parser https://store.steampowered.com/publisher/valve/?tab=all
npx steam-publisher-parser https://store.steampowered.com/publisher/paradoxinteractive/#games

Advanced Usage

# Skip downloading screenshots and videos
npx steam-publisher-parser paradoxinteractive --no-media

# Specify custom output directory
npx steam-publisher-parser valve --output ./my-output

# Adjust request delay (milliseconds)
npx steam-publisher-parser paradoxinteractive --delay 2000

# Set maximum concurrent downloads
npx steam-publisher-parser valve --max-downloads 3

Build and Run

# Build the project
npm run build

# Run the built version
npm start https://store.steampowered.com/publisher/paradoxinteractive

Output Structure

The parser creates the following structure:

output/
├── publisher_games.json          # Main JSON file with all game data
└── media_publisher/              # Screenshots, videos, and thumbnails organized by game
    ├── Game_Title_1/
    │   ├── screenshot_1.jpg
    │   ├── screenshot_1_thumb.jpg
    │   ├── screenshot_2.jpg
    │   ├── screenshot_2_thumb.jpg
    │   ├── video_1.mp4
    │   ├── thumbnail_1_thumb.jpg
    │   ├── video_2.mp4
    │   └── thumbnail_2_thumb.jpg
    └── Game_Title_2/
        ├── screenshot_1.jpg
        └── screenshot_1_thumb.jpg

JSON Output Format

{
  "games": [
    {
      "appId": 949230,
      "title": "Cities: Skylines II",
      "description": "Create and manage your own city in the most realistic city builder ever. Cities: Skylines II offers deep simulation and a living world that reacts to your decisions.",
      "shortDescription": "The ultimate city builder returns with deeper simulation and more creative freedom.",
      "steamUrl": "https://store.steampowered.com/app/949230",
      "tags": [
        "City Builder",
        "Simulation",
        "Strategy"
      ],
      "initialPrice": 49.99,
      "finalPrice": 49.99,
      "isFree": false,
      "releaseDate": "Oct 24, 2023",
      "releaseDateTimestamp": 1698105600,
      "platforms": [
        "win"
      ],
      "card": "output/paradoxinteractive_media/Cities__Skylines_II/card.jpg",
      "cover": "output/paradoxinteractive_media/Cities__Skylines_II/cover.jpg",
      "background": "output/paradoxinteractive_media/Cities__Skylines_II/background.jpg",
      "screenshots": [
        {
          "full": "output/paradoxinteractive_media/Cities__Skylines_II/screenshot_1.jpg",
          "thumbnail": "output/paradoxinteractive_media/Cities__Skylines_II/screenshot_1_thumb.jpg"
        }
      ],
      "videos": [
        {
          "src": "output/paradoxinteractive_media/Cities__Skylines_II/video_1.mp4",
          "name": "Gameplay Trailer",
          "thumbnail": "output/paradoxinteractive_media/Cities__Skylines_II/video_1_thumb.jpg"
        }
      ],
      "systemRequirements": {
        "win": {
          "minimum": "Minimum: Windows 10 (64-bit), Intel Core i7-6700K or AMD Ryzen 5 2600X, 8 GB RAM, NVIDIA GeForce GTX 970 or AMD Radeon RX 470, 60 GB available space"
        }
      }
    }
  ],
  "totalGames": 1,
  "parsedAt": 1704403500
}

Configuration Options

| Option | Description | Default | |--------|-------------|---------| | --no-media | Skip downloading screenshots and videos | false | | --output <dir> | Output directory | ./output | | --delay <ms> | Delay between requests | 1500ms | | --max-downloads <n> | Max concurrent downloads | 6 | | --log-level <level> | Log level (info, debug, warn, error, none) | info |

Rate Limiting

The parser includes built-in rate limiting to be respectful to Steam's servers:

  • Configurable delay between requests
  • Concurrent download limits
  • Request timeouts

Development

# Install dependencies
npm install

# Run in development mode
npm run dev

# Build for production
npm run build

# Clean build directory
npm run clean

License

MIT License - feel free to use and modify as needed.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request