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

@devscholar/arc-pwa

v0.0.2

Published

Run PWAs from ZIP archives in the browser via a custom element

Readme

ArcPWA

⚠️ This project is in Alpha stage and breaking changes may occur.

This project is a modern alternative to the deprecated Web Bundles specification, allowing for users to distribute PWA apps as a compressed file offline.

Browser extension

For opening .pwa.zip files directly in the browser (without embedding), see ArcPWA Extension.

Usage

Embedding a PWA in a webpage

Step 1 — Create a .pwa.zip

Zip the root of your built PWA (the folder that contains index.html):

# e.g. your build output is in dist/
cd my-app/dist
zip -r ../my-app.pwa.zip .

index.html must be at the top level of the zip. That's it.

Step 2 — Add to your Vite project

npm install @devscholar/arc-pwa

index.html:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>My App</title>
  <script type="module" src="./main.js"></script>
</head>
<body>
  <arc-pwa archive="my-app.pwa.zip" style="width:100%;height:100vh;display:block"></arc-pwa>
</body>
</html>

main.js:

import '@devscholar/arc-pwa';

Put my-app.pwa.zip in the same folder as index.html. Vite copies arc-pwa-sw.js to your output automatically — no extra config needed.

Requirements

  • Chrome 80+, Firefox 116+, Safari 16.4+
  • Page served over HTTPS or localhost (Not required by the ArcPWA Extension)

Development

npm install
node examples/build-examples.js   # build example ZIPs
npm run dev                        # Vite dev server → http://localhost:3000/examples/basic/
npm run build                      # production build → dist/
npm run typecheck

License

MIT