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

alu-games-sdk

v1.0.0

Published

Embed browser games with a simple API - compatible with HTML, React, and Node.js

Readme

ALU Games SDK

A unified SDK for embedding browser games into web applications with a simple, consistent API.

What is ALU Games?

ALU Games SDK allows developers to programmatically embed browser games into their web applications. It supports multiple platforms:

  • Vanilla JS/HTML - Use directly in any web page
  • React - React hooks and components for game embedding
  • Node.js - Server-side rendering support for SSR/SSG frameworks

Features

  • Simple, unified API for all games
  • 50+ built-in games across multiple categories
  • React hooks for easy integration
  • Full game control (play, pause, resume, fullscreen)
  • TypeScript support
  • Lightweight and dependency-free core

Quick Start

Vanilla JS

<script src="https://cdn.example.com/alu-games-sdk.min.js"></script>
<div id="game-container"></div>

<script>
  await aluGames.init({ basePath: '/games/' });
  
  const game = await aluGames.embedGame('doodle-jump', {
    containerId: 'game-container',
    width: 800,
    height: 600
  });
</script>

React

import { useGame } from 'alu-games-sdk/react';

function GamePlayer({ gameId }) {
  const { instance, status, play, pause } = useGame({
    gameId,
    width: 800,
    height: 600
  });

  return (
    <div>
      <div id="game-container" />
      <button onClick={status === 'playing' ? pause : play}>
        {status === 'playing' ? 'Pause' : 'Play'}
      </button>
    </div>
  );
}

ES Modules

import { embedGame, getGames, init } from 'alu-games-sdk';

await init({ basePath: '/assets/games' });

const games = getGames();
const game = await embedGame('minecraft-classic', {
  containerId: 'my-game',
  width: 1024,
  height: 768
});

Available Games

The SDK includes 50+ games across categories including:

  • Arcade - Doodle Jump, Chrome Dino, Retro Bowl
  • Puzzle - 2048, Fireboy and Watergirl, Cell Machine
  • Action - Slope, Tunnel Rush, Fall Boys
  • Sports - Basketball Stars, Moto X3M
  • Simulation - Minecraft Classic, Duck Life, BitLife
  • Horror - Five Nights at Freddy's, Backrooms
  • And more...

Documentation

For full API documentation, detailed examples, and configuration options, see SPEC.md.

License

MIT