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

haxball-host-sdk

v1.1.6

Published

Advanced Node.js SDK for managing HaxBall headless hosts

Readme

npm version npm downloads GitHub repository License: MIT GitHub stars

📘 HaxBall-host-sdk

Advanced Node.js infrastructure for professional HaxBall host management.

Developed by Lauto5, this SDK abstracts the complexity of the official HaxBall Headless API, allowing you to run, manage, and scale multiple rooms simultaneously from a structured, professional Node.js environment.


💻 How to install

npm i haxball-host-sdk

Dependencies

npm i puppeteer # Downloads compatible Chrome during installation.
npm i puppeteer-core # Alternatively, install as a library, without downloading Chrome.

🏷️ What is it?

The official HaxBall API is designed exclusively for the browser. HaxBall-host-sdk removes that barrier, letting developers focus on game logic while the SDK takes care of:

  • 🌐 Browser Abstraction: Automatic execution and management of the headless environment (Puppeteer).
  • 🔄 Multi-process Communication: Internal handling of the bridge between Node.js and the browser.
  • 🚦 Instance Control: Native management of multiple hosts within a single application.
  • 📢 Event Management: Reactive system to capture every in-game action.

🚀 Why is it special?

Unlike a conventional wrapper, this SDK behaves as an infrastructure layer built on three pillars:

  1. Full Isolation (Multi-host): Each host runs in its own environment with its own independent Runtime, Bridge, Logger, and Domain.
  2. Modular Architecture: Designed with decoupled modules (Runtime, Bridge, Public API) to guarantee maintainability.
  3. Zero Persistence Opinion: The SDK does not impose any database or data structure; it provides the technical foundation for you to build your own architecture on top.

🧠 Design Philosophy

The SDK follows rigorous engineering principles to ensure stability:

  • Separation of Concerns: Each module has a single, clear responsibility.
  • Dependency Injection: We avoid global Singletons, making testing and scaling easier.
  • Observability: Structured logging at every layer so you always know what's happening internally in real time.
  • Clean Architecture: Built to grow without turning into spaghetti code.

🏗️ Project Map

To understand how the SDK is built, check out our detailed documentation:

  • First steps: Learn how to use the SDK.
  • (Coming soon) Contribution Documentation: Details on how you can contribute to the project.

🎯 Goal

To provide a clean, scalable, and professional infrastructure that allows developers to build high-level HaxBall server logic without dealing with the technical complexity of the headless environment.