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

rapid-render

v1.0.3

Published

<p align="center"> <img src="./docs/image/logo_title.png" alt="Rapid" width="180" height="97" style="image-rendering: pixelated;"> </p>

Downloads

669

Readme


What is Rapid?

Rapid is a focused WebGL 2D rendering engine for games and visual tools. lightweight at just 67 kB (~19.5 kB gzipped) It handles the rendering layer while leaving your game architecture, update loop, and state management fully in your hands.

The documentation and demos are still being written.

Highlights

  • Automatic batching
    Rapid automatically batches compatible draw work. Multi-texture batching binds different textures into a single draw call, eliminating manual grouping.

  • Powerful custom shaders
    Add sprite and geometry effects through shader hooks while still using Rapid's normal renderer, transforms, textures, and draw APIs.

  • Flexible transforms
    Compose motion, hierarchy, camera behavior, and local drawing with multiple transform styles backed by a fast matrix engine.

  • A complete 2D toolkit
    Draw sprites, lines, masks, particles, render textures, text, and custom geometry from one compact WebGL renderer.

Install

npm install rapid-render

Quick Start

import { Rapid, Color } from "rapid-render";

const canvas = document.querySelector("canvas")!;
const rapid = new Rapid({canvas});

rapid.clear();
rapid.drawRect({
   x: 40,
   y: 40,
   width: 160,
   height: 96,
   color: new Color(84, 184, 234),
});
rapid.flush();

Benchmark

Performance Comparison: Rapid vs. Other Renderers and Game Engines

Tested on Windows 11 / Intel i7-12850H / NVIDIA RTX 4070 Laptop GPU / Google Chrome (WebGL 2.0) (Chrome / WebGL 2.0)

Contributing

Contributions, issues, and feature requests are welcome!

Before submitting a Pull Request, please ensure:

  • Strict TypeScript (Zero any): All code must pass strict type checking with zero any, loose casts, or @ts-ignore directives.
  • Passing Checks: Run npm run build to ensure clean compilation with zero warnings or errors.