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

ghosty-cli

v0.9.0

Published

Ghosty — deploy applications safely, from a short interview to a live URL.

Readme

ghosty-cli

The CLI for Ghosty — a platform that lets non-technical employees deploy applications in a safe, controlled environment: from a short interview to a live URL.

npm i -g ghosty-cli
ghosty login --admin-url https://admin.<your-company-domain>
mkdir my-app && cd my-app
ghosty init        # short interview, scaffolds the app
ghosty provision   # repo + build pipeline + database + live URL
ghosty dev         # run it locally

Commands

| Command | What it does | | --- | --- | | ghosty login | Browser sign-in (loopback OAuth). --admin-url <url> or --company <slug>; --no-browser prints the URL. | | ghosty whoami | Show the signed-in builder, GitHub username, and apps. | | ghosty init | Scaffold a new app (interview; all answers available as flags; --yes for defaults). | | ghosty provision | Create everything the app needs on the platform and wait until it's ready. | | ghosty state | Show platform resource status for this app. | | ghosty dev | Run frontend + backend locally with your personal dev database. | | ghosty migrate <name> | Apply a database schema change to your personal dev schema (<name> is a short snake_case label). Node apps run Prisma; Python apps run the backend's migrate entrypoint. No-op with a clear message when the app has no database yet. | | ghosty secret <name> | Store a secret for this app (kebab-case <name>; --value or hidden prompt), record its name in app.config.json, stub it in backend/.env.local, and bind it to the service. Binds as the UPPER_SNAKE_CASE env var. | | ghosty deploys / ghosty logs / ghosty redeploy | Inspect and trigger production deploys. | | ghosty profile --github <username> | Record your GitHub username (grants push access on app repos). | | ghosty preflight | Check Node, git, sign-in, and platform reachability. |

Every command supports --json for machine-readable output, and long-running commands end with a single parseable ready/READY line. Interactive prompts only appear on a TTY when a required value is missing — every prompt can be skipped with flags. Works on macOS, Linux, and Windows.

Credentials live in ~/.ghosty/profiles.json (owner-only permissions), one profile per admin URL, so one laptop can talk to multiple companies.

Development

npm run build -w ghosty-cli   # tsc → dist/
npm test -w ghosty-cli        # vitest (no network)
node packages/cli/bin/ghosty.js --help

App templates ship in templates/ (consumed by ghosty init, maintained separately from the command code).