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

@zwaggen/web

v0.2.2

Published

Zwaggen web app — visual API spec designer + runner. Run with `npx @zwaggen/web`.

Readme

@zwaggen/web

Zwaggen web app — a visual API spec designer + runner — packaged for zero-install local use.

Install / run

No global install needed:

npx @zwaggen/web

This boots a local server (default http://127.0.0.1:4173) and opens your browser. Press Ctrl+C to stop.

The CORS-bypass proxy is bundled in. Flip the "Use proxy" toggle on any endpoint and the request routes through the same Node process at /proxy (same-origin → no CORS preflight). No second terminal, no second port.

Or install globally:

npm i -g @zwaggen/web
zwaggen-web

Options

| Flag | Default | Description | | ---------------- | -------------- | ---------------------------------------------- | | --port <n> | 4173 | Port to bind. If busy, scans upward for free. | | --host <addr> | 127.0.0.1 | Host to bind. Use 0.0.0.0 for LAN access. | | --no-open | (off) | Don't auto-open browser. | | --no-proxy | (off) | Disable the bundled CORS proxy (no /proxy). | | -h, --help | | Show help. | | -v, --version| | Print version. |

Examples

npx @zwaggen/web                 # default — proxy on
npx @zwaggen/web --port 8080     # custom port
npx @zwaggen/web --host 0.0.0.0  # LAN-accessible
npx @zwaggen/web --no-open       # don't open browser
npx @zwaggen/web --no-proxy      # serve SPA only, no /proxy route

What this is

The Zwaggen web app is a single-page React app — there's no backend. Your specs and run history are stored in your browser's IndexedDB. Closing the server doesn't lose data; reopening it on the same port restores everything.

The bundled CORS proxy is the same code as the standalone @zwaggen/proxy package, mounted at /proxy on the same port. Use the standalone proxy when you need it on a different host than the SPA; use the bundled one for zero-config local development.

Online version

The same app runs at play.zwaggen.com with no install required. Cross-origin requests there hit browser CORS — for real API testing without CORS, use npx @zwaggen/web locally.

Documentation

Full tutorial at docs.zwaggen.com.

License

MIT.