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

@nova-infra/template-react-ts

v0.1.6

Published

*Desktop shell meets fast front-end iteration — Electrobun + React 19 + Vite 8*

Readme

Electrobun + React + Vite Starter

Desktop shell meets fast front-end iteration — Electrobun + React 19 + Vite 8

This template is a minimal desktop starter focused on two things:

  • letting Electrobun stay the thin native shell
  • letting Vite 8 handle the fast front-end feedback loop
  • giving the renderer a modern React 19 default

The project is intentionally small so it is easy to extend with AI-assisted "vibe coding" sessions.

This template is published independently as @nova-infra/template-react-ts through npm Trusted Publishing.

Why this shape

  • Development mode loads the Vite dev server directly in an Electrobun window.
  • Production mode builds the web app with Vite and copies the output into views://app/....
  • A small typed RPC example is included so the React UI can immediately talk to the Bun process.
  • A local skill file is bundled in skills/electrobun-best-practices/SKILL.md and referenced from AGENTS.md.
  • The template keeps all top-level runtime configuration inside electrobun.vite.config.ts.

Version constraints

This starter is pinned to:

Commands

bun install
bun run dev
bun run build
bun run preview
bun run update
bun run typecheck

The package.json scripts call electrobun-vite directly, so no local wrapper script is needed. bun run dev will generate the initial dist output once, then keep Electrobun in watch mode with the Vite dev server. bun run update refreshes the template-managed dependency versions and then runs bun install.

Scaffold into the current directory

If you want to generate the starter directly in an empty folder, use either of these equivalent commands:

bunx -p @nova-infra/electrobun-vite create-electrobun .
bunx -p @nova-infra/electrobun-vite create-electrobun

Both forms only work when the current directory is empty, so the starter files can be written safely without overwriting anything.

Structure

Extending the starter

  • Replace the UI in src/ui.
  • Add new RPC requests/messages in src/shared/rpc.ts.
  • Keep external content sandboxed and isolated if you introduce embedded web content.