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

mailriz-cli

v1.1.0

Published

Deployment wizard for [MailRiz](https://github.com/rizkirmdhnnn/mailriz) — self-hosted, persistent email aliases running entirely on Cloudflare.

Readme

mailriz-cli

Deployment wizard for MailRiz — self-hosted, persistent email aliases running entirely on Cloudflare.

bunx mailriz-cli setup

Commands

mailriz-cli setup        # deploy end-to-end (refuses if already installed)
mailriz-cli status       # check worker + config health
mailriz-cli update       # update worker to the latest release (data preserved)
mailriz-cli reconfigure  # change auth, admin email, repair Access (data preserved)
mailriz-cli destroy      # tear down everything, DNS and R2 included

What setup does

  1. Asks for a Cloudflare API token and validates it.
  2. Lets you pick the account and zone, then the dashboard hostname and admin email.
  3. Provisions the stack: D1 database + migrations, R2 buckets (raw .eml, attachments, sanitized HTML), Worker deployment, custom domain binding, Email Routing with a catch-all rule, and a Cloudflare Access app (or a session-password fallback if the token lacks Zero Trust scope).
  4. Verifies the result: /healthz ping, MX check, summary.

The Worker bundle is downloaded from the latest GitHub Release at setup time; the CLI itself only orchestrates.

Requirements

  • Node.js 18+ (or Bun).
  • A Cloudflare account with a zone you control.
  • An API token with: Account Read, Zone Read, Zone DNS Edit, Workers Scripts Edit, D1 Edit, Workers R2 Storage Edit, Email Routing Rules Edit, and optionally Zero Trust for automatic Access setup.

Config is written to ~/.mailriz/config.json (mode 600).

Notes

wrangler is the only runtime dependency — it's resolved from node_modules and spawned as a child process to deploy. Everything else is bundled into the published dist/cli.js.

See the main README for architecture, platform limits, and security notes.