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

@rome-os/pantheon-cli

v0.0.5

Published

Command-line client for the [Pantheon](https://r.amantru.com) Rome app store. Use it to log in, package a Rome app directory, publish it as a new version, or download an existing app bundle.

Readme

@rome-os/pantheon-cli

Command-line client for the Pantheon Rome app store. Use it to log in, package a Rome app directory, publish it as a new version, or download an existing app bundle.

Install

npm install -g @rome-os/pantheon-cli
# or run ad-hoc
npx @rome-os/pantheon-cli --help

The CLI is published as an ES module and requires Node.js 22+.

Usage

pantheon login      Log in to a pantheon instance and store credentials.
pantheon whoami     Show the currently logged-in account.
pantheon publish    Package a Rome app directory and upload it.
pantheon download   Fetch an app bundle.

Run pantheon <command> --help for command-specific options.

Authenticate

There are two ways to give the CLI credentials, in order of preference:

  1. ROME_TOKEN env var (recommended for CI and long-lived workflows). Generate a token in the Pantheon dashboard under Settings → CLI / API token, copy it once, and export it:

    export ROME_TOKEN=rome_…
    # optionally pin a host (otherwise PANTHEON_HOST or the default is used)
    export PANTHEON_HOST=https://r.amantru.com
    pantheon publish ./my-app

    The token never expires, can be reset at any time from the dashboard, and is store-API-only — it cannot be used to log into the dashboard.

  2. pantheon login (interactive shells). Mints a 24-hour session token via email + password and stores it in ~/.pantheon/pantheon-token.json (mode 0600):

    pantheon login
    # or non-interactively
    pantheon login --email [email protected] --password-stdin <<<"$PW"

If both are present, ROME_TOKEN wins. Override the host with --host <url> or the PANTHEON_HOST env var (default: https://r.amantru.com).

Publish an app

The target directory must contain an app.yaml with id and version:

pantheon publish ./my-app
pantheon publish ./my-app --dry-run --out my-app.romeapp
pantheon publish ./my-app --exclude dist --exclude .env

The CLI builds a deterministic gzipped tarball (no mtimes), prints its sha256, and uploads it to /api/store/publish. With --dry-run it stops after computing the hash.

node_modules, .git, and .DS_Store are excluded by default. Add more with --exclude <name> (repeatable); each pattern matches any path segment by exact name, so --exclude dist skips a top-level dist/ and any nested dist/ too. Pass --no-default-exclude to opt out of the built-in defaults.

Download an app

# latest live version
pantheon download @your-handle/my-app
# pinned version
pantheon download @your-handle/[email protected] --out my-app.romeapp
# unscoped (first-party) listings
pantheon download my-app

The downloaded bundle's sha256 is verified against the listing's contentHash before it's written to disk.

Configuration

| Source | Field | Notes | | --------------------------------- | ---------------- | --------------------------------------------------------------------------- | | ROME_TOKEN env var | bearer token | Long-lived API token minted in the dashboard. Wins over the JSON config. | | --host <url> | host | Per-invocation override. | | PANTHEON_HOST env var | host | Used when no flag is passed and no config is stored. | | ~/.pantheon/pantheon-token.json | host, email, token | Written by pantheon login. File is mode 0600. |

License

MIT