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

@meshxdata/fops

v0.0.51

Published

CLI to install and manage data mesh platforms

Readme

Foundation Operator CLI (fops)

Install and manage Foundation data mesh platforms from the terminal.

Install

npm / npx (recommended)

# Run without installing
npx @meshxdata/fops doctor

# Install globally
npm install -g @meshxdata/fops

From repo (development)

cd foundation-compose/operator-cli
npm install
npm link   # optional: use `fops` from anywhere

Commands

| Command | Description | |---------|-------------| | fops login | Authenticate with Claude (default) or other services | | fops login coda | Authenticate with Coda (guided API token setup) | | fops setup | Full automated setup (.env, netrc reminder, submodules; use --download to pull images) | | fops init | Initialize a Foundation project. Interactive wizard when not in a project root. | | fops up | Start all services (make start); launches interactive AI assistant after startup | | fops down | Stop services; use --clean to remove volumes | | fops status | Show service status | | fops logs [service] | Stream logs (all or one service) | | fops doctor | Check Docker, git, .env, AWS/ECR, ports, services; use --fix to apply fixes | | fops config | Launch interactive configuration | | fops bootstrap | Create demo data mesh | | fops test | Run health checks | | fops agent | AI assistant for the stack. Interactive or single-turn with -m "message". | | fops chat | Interactive AI assistant (same as fops agent) | | fops skill list | List available agent skills (built-in and plugin-provided) | | fops plugin list | List installed plugins | | fops plugin install <source> | Install a plugin from a local directory | | fops plugin remove <id> | Remove an installed plugin |

AI Assistant (agent / chat)

  • Interactive: fops agent or fops chat — in-CLI chat with streaming responses and command execution.
  • Single-turn: fops agent -m "why are my containers failing?" — one question, one reply; optional "run suggested command?" prompt.
  • Model override: fops agent --model claude-sonnet-4-20250514

Auth (checked in order):

  1. Claude Code CLI OAuth (if claude is installed and authenticated)
  2. ANTHROPIC_API_KEY environment variable
  3. ~/.claude/settings.jsonapiKeyHelper (script that prints the API key)
  4. ~/.claude/.credentials.json or ~/.claude.jsonanthropic_api_key / apiKey
  5. OPENAI_API_KEY environment variable (fallback; uses OpenAI-compatible models)

Run fops login to authenticate via OAuth browser flow, or fops login --no-browser to paste an API key directly.

Example: Configuring API key in ~/.claude.json

{
  "anthropic_api_key": "sk-ant-api03-..."
}

Or in ~/.claude/.credentials.json:

{
  "ANTHROPIC_API_KEY": "sk-ant-api03-...",
  "OPENAI_API_KEY": "sk-proj-..."
}

Coda — Run fops login coda to set up your Coda API token. The wizard opens your browser to coda.io/account and guides you through generating and pasting the token. Token is validated via the Coda API and saved to ~/.fops.json. You can also set CODA_API_TOKEN as an env var.

Doctor

Checks prerequisites (Docker, Git, Node.js, AWS CLI), AWS/ECR access, project structure, Docker resources, port conflicts, running services, and image freshness. Plugins can register additional checks.

On --fix, doctor can automatically:

  • Install Docker (macOS via Homebrew, Windows via winget, Linux via get.docker.com)
  • Start the Docker daemon
  • Fix AWS SSO sessions and ECR authentication
  • Create missing .env from .env.example
  • Run fops init for missing projects
  • Rebuild stale images

Plugins

Plugins extend the CLI with custom commands, doctor checks, lifecycle hooks, and agent skills.

  • Global plugins: ~/.fops/plugins/<id>/ (each with fops.plugin.json)
  • NPM plugins: packages named fops-plugin-* or @scope/fops-plugin-*

Usage

Run from a foundation-compose clone (or any directory containing docker-compose.yaml and Makefile). You can also set FOUNDATION_ROOT to point to your repo root.

cd /path/to/foundation-compose
fops doctor
fops up
fops status

First-time setup:

fops init
fops up

The init wizard will prompt to clone the repository if no project is found.

Requirements

  • Node.js >= 18
  • Docker (Docker Compose)
  • Git (for submodules)
  • Claude CLI (bundled — installed automatically via npm install)

License

MIT