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

livepak

v3.0.0

Published

Zero-dependency Chrome extension dev server with auto-reload, pinning, and hot reloading

Readme

livepak

Zero-dependency Chrome extension dev server with auto-reload, toolbar pinning, and hot reloading.

Why

Developing Chrome extensions means constantly: unload, load unpacked, click refresh, test. livepak eliminates all of that.

  • Zero dependencies -- no npm install, just Node.js 22+
  • Auto-downloads Chrome for Testing -- bypasses stable Chrome's --load-extension block
  • Hot reload -- file changes trigger instant extension reload via WebSocket
  • Smart reload -- JS/JSON changes do a full reload; CSS/HTML changes do a soft reload + tab refresh
  • Auto-pins extensions to the toolbar via CDP
  • Multi-extension support -- load and watch multiple extensions simultaneously
  • Crash-safe -- lockfile restores your manifest if the process dies unexpectedly

Quick start

npx livepak ./my-extension

Or install globally:

npm install -g livepak
livepak ./my-extension

Usage

livepak <ext-dir> [ext-dir2 ...] [options]

Options:
  --port <n>             WebSocket port (default: 35729, auto-increments on conflict)
  --open <url>           Open a URL after launch (for testing content scripts)
  --chrome-version <v>   Chrome version (e.g. "146", "latest", default: cached or latest)
  --chrome-flags <flags> Extra Chrome flags (comma-separated)
  --no-launch            Don't launch Chrome, just watch + reload
  --no-inject            Don't inject reload script (manual setup)
  --config <path>        Config file path (default: ./livepak.config.json)

Examples

# basic usage
livepak ./my-extension

# multiple extensions
livepak ./ext-popup ./ext-content-script

# test content scripts on a specific page
livepak ./my-extension --open https://example.com

# use a specific Chrome version
livepak ./my-extension --chrome-version 146

# watch-only mode (bring your own browser)
livepak ./my-extension --no-launch

Config file

Create livepak.config.json in your project root:

{
  "extensions": ["./src/extension"],
  "port": 4000,
  "open": "https://example.com",
  "chromeVersion": "146",
  "chromeFlags": ["--auto-open-devtools-for-tabs"]
}

How it works

  1. Injects a tiny WebSocket client into your extension's service worker/background script
  2. Watches your extension directory for file changes
  3. Downloads Chrome for Testing (cached in ~/.cache/livepak/)
  4. Launches Chrome with --load-extension and pins extensions via CDP
  5. Signals chrome.runtime.reload() over WebSocket when files change
  6. Refreshes active tabs when content scripts may have changed
  7. Restores your original manifest on exit (or on next startup if crashed)

Supported

  • Manifest V2 and V3
  • macOS, Linux, Windows
  • Node.js 22+

How it compares

| Tool | Deps | Framework lock-in | Auto-reload | Pin | Content script reload | |------|------|-------------------|-------------|-----|----------------------| | livepak | 0 | None | Yes | Yes | Yes | | Plasmo | Heavy | Yes | Yes | No | Yes | | WXT | Heavy | Yes (Vite) | Yes | No | Yes | | CRXJS | Heavy | Yes (Vite) | Yes | No | No | | web-ext | Medium | None | Firefox only | No | No |

License

MIT