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

create-browserux

v1.0.1

Published

Create a standards-first BrowserUX starter with PWA, Web Components, native CSS, and browser APIs

Readme

npm create browserux@latest

create-browserux scaffolds front-end starter templates built around native web standards: PWA, Web Components, semantic HTML, native CSS, browser APIs, and controlled service workers.

It is not a full-stack framework generator and does not try to replace Next, Nuxt, Astro, Remix, or similar tools. It gives you a production-ready front-end base for static sites, PWAs, and client-side applications where you keep control of the browser platform.

✨ What You Get

  • 📴 PWA manifest, icons, service worker registration, and offline page.
  • 🎨 BrowserUX CSS base with native user interface patterns.
  • 🧩 BrowserUX Web Components for theme switching, native sharing, and PWA install/update UI.
  • ⚡ Vite templates with Workbox, image optimization, preload hints, sitemap, and robots generation.
  • 🔤 Optional TypeScript setup for Vite templates.
  • 🧪 React/Vue templates with routing and Vitest test suites.

📦 Templates

| Logo | Template | What it is for | Stack | |---|---|---|---| | | raw | Pure HTML/CSS/JS with a hand-written service worker. No build step, no npm, no bundler. | HTML, CSS, Vanilla JS, Cache API | | | vite-vanilla | Static multi-page app with Vite, Workbox, optimized assets, sitemap, and full SW control. | Vanilla JS or TS, Vite, Workbox, MPA | | | vite-react | React 19 SPA with React Router v7, data loaders, tests, and BrowserUX Web Components. | React 19, React Router v7, Vite, Workbox, Vitest | | | vite-vue | Vue 3 SPA with Vue Router 4, Composition API, tests, and BrowserUX Web Components. | Vue 3, Vue Router 4, Vite, Workbox, Vitest |

🚀 Usage

npm create browserux@latest

The CLI asks for:

  1. Project name: used as the folder name and package.json name.
  2. Template: raw, vite-vanilla, vite-react, or vite-vue.
  3. TypeScript: optional for Vite templates, not shown for raw.

For Vite templates:

cd my-project
npm install
npm run dev

For the raw template:

cd my-project
# Open index.html in a browser

🔤 TypeScript

When TypeScript is selected, the CLI overlays typed source files onto the JavaScript template and updates devDependencies.

  • vite-vanilla: adds typescript.
  • vite-react: adds typescript, @types/react, and @types/react-dom.
  • vite-vue: adds typescript and vue-tsc.

🧱 Standards-First Foundation

  • 📱 PWA: Web App Manifest, Service Worker, Cache API, offline fallback.
  • 🧩 Web Components: Custom Elements, Shadow DOM, slots, HTML attributes.
  • 🎨 Native CSS: CSS variables, media queries, semantic elements, native user interface patterns.
  • 🌐 Browser APIs: Web Share API, beforeinstallprompt, View Transitions API, localStorage.
  • 📝 Semantic HTML: native elements and browser behavior before proprietary abstractions.

📁 Folder Handling

If the target folder already exists, the CLI asks for confirmation before merging files and replacing conflicts.

The following entries are excluded while copying templates:

| Excluded item | Reason | |---|---| | node_modules/ | Dependencies should be installed locally | | dist/ | Build output should be regenerated | | .env | Local environment files may contain secrets |

🔗 Links

📄 License

MIT © 2026 Effeilo