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

@pablozaiden/webapp

v1.6.1

Published

Opinionated Bun + React webapp framework for single-server apps

Readme

@pablozaiden/webapp

Opinionated Bun + React framework for single-server TypeScript webapps: one Bun process serves the React UI, API routes, multi-user passkey auth, user-owned and server-managed API keys, device auth, stateless CLI API-key auth, realtime websocket state, scoped settings, binary builds and Docker images.

Quick start

Use one of the examples during framework development:

bun install
bun run dev:notes-todo
bun run dev:kitchen-sink

Both examples run with Bun native hot reload through bun --hot, with no standalone frontend build server and no external WEB_DIST_DIR.

Application dependencies

Each application package must declare react and react-dom; they are peer dependencies of the framework. Bun resolves react-dom/client from the application package context, so workspace installs do not need to hoist React packages to a repository root. Native startup and binary builds fail early with the application context when react-dom is not installed.

Main exports

| Export | Use | | --- | --- | | @pablozaiden/webapp/server | createWebAppServer, route helpers, responses, request-origin helpers, SQLite store | | @pablozaiden/webapp/web | WebAppRoot, renderWebApp, useToast, sidebar types, UI controls, realtime hooks | | @pablozaiden/webapp/contracts | Shared auth/config/device/API-key types | | @pablozaiden/webapp/cli | Lazy createWebAppCli, profiles, device/environment auth, API/schema/logs/update and raw WebSocket commands | | @pablozaiden/webapp/build | Bun single-binary compile helper |

Motion primitives

The web export includes Presence, Collapsible, AsyncState, AnimatedList, Tabs, TabPanels, and TabPanel. Use stable React keys with AnimatedList; it preserves removed keyed children for the exit duration and marks them inaccessible while they leave. The primitives honor prefers-reduced-motion; transient appearance animations use opacity-only fades, while structural primitives such as Collapsible animate their layout.

<AnimatedList>
  {records.map((record) => (
    <DataListRow key={record.id} title={record.title} />
  ))}
</AnimatedList>

Use layout="contents" when animated children should participate directly in the surrounding layout rather than through the list wrapper.

See docs/getting-started.md for the minimum app shape and examples/notes-todo for a realistic app. Use docs/github-actions.md when adding CI, Docker and release workflows to an app built with the framework. Release/publishing details for this package are in docs/release.md.

CLI API callers can use a stored device session or the stateless ${PREFIX}_BASE_URL and ${PREFIX}_API_KEY environment pair; see docs/cli.md for precedence and anonymous fallback behavior.