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

@luminocity/lemonate-engine

v26.2.11

Published

The Lemonate Engine is the game engine that powers lemonate.io

Readme

Lemonate Engine

The Lemonate Engine powers lemonate.io and Lemonate Studio, the game editor for creating projects on the platform. The engine can also run games directly from built packages in standalone web applications.


Usage

To run a Lemonate game on your website:

  1. Export your game package

    • In Lemonate Studio, right-click your published game package in the folder "published" within your project
    • Select "Download" to export the package file and save it as data.pkg
  2. Set up your webpage

    • Place the package file alongside this HTML file on a web server
    • Note: The game must be served from a web server (e.g., Apache, Nginx, or a local dev server like http-server). It will not work when opened directly from a local disk due to browser security restrictions.

Example Implementation

Here's a complete HTML template to embed your Lemonate game:

<!DOCTYPE html>
<html>
<head>
    <style>
        body, html {
            margin: 0;
            background: #000;
            font-family: sans-serif;
        }
        #renderview { width: 100%; height: 100vh; }
        #progress {
            position: absolute;
            top: 50vh;
            left: 50%;
            transform: translateX(-50%);
            width: 200px;
            height: 16px;
            border: 1px solid #f4cd2d;
            border-radius: 4px;
        }
        #progress .bar {
            background: #f4cd2d;
            height: 100%;
            width: 0;
            transition: width 0.5s ease-in-out;
        }
        #error {
            position: absolute;
            top: 50vh;
            left: 10px;
            font: bold 30px sans-serif;
            color: red;
            text-shadow: 1px 1px 5px #000;
        }
        canvas:focus { outline: none; }
    </style>
</head>
<body>
<div id="renderview"></div>
<div id="progress"><div class="bar"></div></div>
<div id="error"></div>

<script src="https://cdn.jsdelivr.net/npm/@luminocity/lemonate-engine@latest/dist/lemonate.min.js" defer></script>
<script>
    window.addEventListener('load', async () => {
        const engine = new Lemonate.Engine({
            renderView: document.getElementById('renderview'),
            antialias: true
        });

        const progressBar = document.querySelector('#progress .bar');
        const errorView = document.getElementById('error');

        try {
            await engine.runPackage("./data.pkg", ({percent}) => {
                progressBar.style.width = `${percent}%`;
            });
        } catch(err) {
            errorView.textContent = err.message;
            console.error(err);
        } finally {
            document.getElementById('progress').style.display = 'none';
        }
    });
</script>
</body>
</html>