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

montyengine

v0.2.1

Published

A lightweight, high-performance 2D game engine for TypeScript and HTML5 Canvas.

Readme

MontyEngine

A lightweight, opinionated 2D game engine with a clean, beginner-friendly API, built on top of an internal ECS architecture.

🎮 See it in action: Play Monty Dive, a game built entirely with MontyEngine!


🌟 Philosophy

MontyEngine is designed with Developer Experience (DX) as the absolute priority.

  • Fast Prototyping: You should be able to create something on screen in under 2 minutes without understanding the engine internals.
  • Scene-Driven Architecture: The Scene is the main entry point for all your game logic.
  • Powerful Internals, Simple API: Built on a highly-flexible ECS (Entity-Component-System) core, which is entirely hidden behind a simple, intuitive public API. No manual entity or system registration required!

🚀 Quick Start

Installation

npm install montyengine

Your First Scene

import { Engine, Scene } from 'montyengine';

class MainScene extends Scene {
  onCreate() {
    // Render a simple sprite instantly!
    const player = this.add.sprite({
      texture: 'player', // Note: ensure 'player' texture is loaded
      x: 100,
      y: 100
    });
  }

  onUpdate(dt: number) {
    // Handle game logic effortlessly
    if (this.input.isDown('ArrowRight')) {
      // Logic to move right...
    }
  }
}

// Initialize the engine and start rendering!
const engine = new Engine({
  canvas: document.getElementById('game-canvas') as HTMLCanvasElement,
  width: 800,
  height: 600,
  scene: MainScene
});

engine.start();

✨ Core Features

  • 🏗️ No ECS Boilerplate: ECS is powerful, but you don't need to manually create entities, attach components, or register systems. Just use simple factory methods like this.add.sprite(...).
  • 🎬 Clean Lifecycle: Intuitive onCreate() and onUpdate() hooks in Scenes.
  • 📦 Automatic Dependency Injection: Input handling, object factories (this.add), and time utilities are automatically passed to your Scene.
  • 🛡️ TypeScript First: Built with 100% TypeScript, giving you predictable autocomplete and type safety right out of the box.

🎮 Showcase

Check out what can be built with MontyEngine:

  • Monty Dive - A complete, production-ready depth-diving game featuring parallax scrolling, state management, and asset loading—all powered by MontyEngine.

📄 License

MIT © legamuka