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

stackctl

v0.12.0

Published

A terminal UI and CLI for a monorepo's services, infrastructure, tests and CI during development.

Downloads

5,706

Readme

stackctl

Run your monorepo's stack in one terminal.

stackctl is a terminal UI and CLI for a monorepo's services, infrastructure, tests and CI during development. You describe your services once, in a small typed config file. stackctl starts the ones you pick and the services they need, brings up their infrastructure, loads their environment, and shows it all in one place.

stackctl's terminal UI running the example monorepo

Documentation: stackctl.dev

Features

  • One typed config. stackctl.config.ts describes every service. Pick one and the services it needs come with it, started in order and held until they are healthy.
  • Lifecycle hooks. Steps of your own before a service starts, once it is ready and before it stops, with the same hooks on the session, each service and the infra: codegen, migrations, a webhook to register and remove.
  • A terminal UI. One combined, filterable log, with each service's state and memory in the footer. Drive it with the keyboard or the mouse.
  • Readable JSON logs. Log JSON in every environment: each line is shown as a colored [LEVEL] message with its fields listed below it, nested ones and stack traces included.
  • Built for coding agents. A headless mode, a localhost control API, an installable skill and llms.txt.
  • Infra included. Point it at your docker-compose.yaml: databases and brokers come up, get healthy and get migrated before your services start.
  • Environment handled. Layered .env files per workspace, service and profile, injected into each process and reloaded when a file changes.
  • A hostname per service. An optional dev reverse proxy, over TLS too, with a status page while a service starts.
  • The same stack in tests and CI. startStack() for an e2e suite, stackctl start --detach for a CI job, in a profile that runs beside your dev session.
  • An SDK for scripts and tests. startStack(), exec(), run() and resolveEnv() give your own code what the CLI gives a shell, typed and with the same environment.
  • Any language. A service is a dev script in package.json or a Makefile target.

Install

pnpm add -D stackctl
pnpm stackctl init

Requires Node.js 26.12.1 or newer, on macOS or Linux.

Quick start

// stackctl.config.ts
import { defineConfig } from 'stackctl';

export default defineConfig({
  serviceRootDir: 'apps', // each service lives at apps/<name>
  services: {
    api: {
      // read from api's .env files, and given to the process as PORT
      port: ({ envs }) => Number(envs.API_PORT),
      healthcheck: '/health',
    },
    web: {
      port: 3000,
      // selecting web also runs api, and holds web until api is healthy
      deps: [{ service: 'api', wait: true }],
    },
  },
});

Each service needs a dev script in its package.json, or a dev target in a Makefile. Then:

pnpm stackctl                 # the terminal UI: pick services, run them
pnpm stackctl --headless -s web   # no UI: stream logs to stdout
pnpm stackctl run api seed    # one script, with api's environment
pnpm stackctl infra start     # start the infra, then exit

Documentation

A complete example monorepo is in example/.

For coding agents, the docs are indexed at stackctl.dev/llms.txt, and ship inside the package at node_modules/stackctl/docs/llms.txt.

License

MIT