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

@factiii/stack

v0.7.3

Published

Infrastructure management package for deploying services to servers

Readme

@factiii/stack

Infrastructure management CLI. Scan, fix, and deploy Node.js apps to AWS with Docker, Nginx, and GitHub Actions.

Install

npm install @factiii/stack

Quick Start

npx stack              # Self-bootstrap + scan
npx stack init         # First-time vault/secrets setup
npx stack scan --dev   # Read-only issue detection
npx stack fix --dev    # Auto-fix detected issues
npx stack deploy --staging  # Scan then deploy

Commands

| Command | Description | |---------|-------------| | npx stack | Self-bootstrap + scan (default) | | npx stack init | First-time vault/secrets setup | | npx stack scan [--stage] | Read-only issue detection | | npx stack fix [--stage] | Auto-fix detected issues | | npx stack deploy --<stage> | Scan then deploy | | npx stack deploy --secrets <action> | Manage Ansible Vault secrets | | npx stack db <cmd> --<stage> | Database operations (migrate, seed, reset, status) | | npx stack ops <cmd> --<stage> | Server operations (logs, restart, shell, status) | | npx stack backup <cmd> --<stage> | Database backup/restore | | npx stack dev-reset [--dry-run] | Reset local config/secrets for fresh bootstrap |

Stages

--dev, --secrets, --staging, --prod

Routing priority:

  1. dev / secrets → always runs locally
  2. staging / prod → tries SSH key (~/.ssh/{stage}_deploy_key) → falls back to GitHub Actions workflow → unreachable

Config Files

| File | Purpose | Editable By | |------|---------|-------------| | stack.yml | Manual settings (committed) | User | | stackAuto.yml | Auto-detected settings | Stack CLI | | stack.local.yml | Per-developer overrides (gitignored) | User |

Legacy factiii.yml is also supported.

Plugins

Pipelines — CI/CD routing: factiii, aws

Servers — OS-specific commands: mac, ubuntu, windows, amazon-linux

Frameworks — App scaffolding: prisma-trpc, expo

Addons — Extensions: server-mode (hardening), openclaw (AI agent), auth (@factiii/auth integration)

Plugins auto-detect from your project. No manual registration needed.

AWS Strategy

Two IAM users per project:

  • Dev account (dev + staging): factiii-{project}-dev
  • Prod account (prod only): factiii-{project}-prod

Provisioning covers EC2, RDS, VPC, ECR, Route 53, and S3.

Deployment Flow

  1. npx stack — bootstrap (installs deps, detects frameworks, generates config)
  2. npx stack init — create vault, store secrets
  3. npx stack fix --staging — provision infrastructure, push workflows
  4. npx stack deploy --staging — scan, build, deploy via SSH or GitHub Actions

Workflows are ultra-thin: trigger + secrets + SSH + CLI call. No setup/clone/build logic in CI.

ssh -i ~/.ssh/deploy_key "$USER@$HOST" \
  "GITHUB_ACTIONS=true npx stack deploy --staging"

Requirements

  • Node.js >= 18.0.0
  • pnpm, npm, or yarn

License

MIT