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

bini-overlay

v1.0.4

Published

A beautiful animated overlay badge with error overlay for Bini.js / Vite

Readme

Bini Overlay

A beautiful animated overlay badge for the Bini.js framework. Shows your Bini.js logo during development — animates on load and HMR updates, and hands off to a rich error overlay when something goes wrong.


Features

  • Animated Logo — SVG path-drawing animation on page load, refresh, and every HMR update
  • 🚨 Error Overlay — Powered by @visulima/vite-overlay with source maps, cause chain navigation, and intelligent fix suggestions
  • 🔄 HMR Aware — Logo animates during hot reloads, hides on error, recovers automatically when fixed
  • 🎯 Non-intrusive — Small circular badge fixed to the bottom-left corner
  • 🎨 Bini.js Branding — Official Bini.js gradient logo and colors
  • Zero Configuration — Install and it just works
  • 📱 Responsive — Adapts gracefully to mobile screens
  • 🔒 Development Only — Never appears in production builds

Installation

# npm
npm install bini-overlay --save-dev

# pnpm
pnpm add bini-overlay -D

# yarn
yarn add bini-overlay --dev

Usage

// vite.config.ts
import { defineConfig } from 'vite'
import { biniOverlay } from 'bini-overlay'

export default defineConfig({
  plugins: [biniOverlay()]
})

How It Works

The balloon is your Bini.js logo inside a round black badge, fixed to the bottom-left corner. It has three states:

| State | Behaviour | |-------|-----------| | Loading | Logo draws itself with a stroke animation and pulses | | Idle | Logo sits quietly as a filled gradient icon | | Error | Badge hides completely — the @visulima/vite-overlay error screen takes over |

When an error is fixed and HMR fires the next update, the badge automatically reappears with the loading animation and returns to idle once the update is applied.


Configuration

biniOverlay({
  // Options passed directly to @visulima/vite-overlay
  errorOverlayOptions: {
    forwardConsole: true,
    forwardedConsoleMethods: ['error', 'warn'],
    solutionFinders: [],
  }
})

Environment variable

Disable the badge entirely without touching your config:

DISABLE_BINI_OVERLAY=true npm run dev

Requirements

| Dependency | Version | |------------|---------| | Node.js | >= 18.0.0 | | Vite | ^6.0.0 |


License

MIT