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

@meticoeus/terminx

v0.3.0

Published

Tmux like terminal UI for NX multi-server monorepos using traefik.

Downloads

9

Readme

Terminx

A tmux-like terminal UI for managing multiple services in NX monorepos, inspired by the developer UI in SST v3.

Overview

Terminx provides a simple, powerful interface for running and monitoring multiple services in your NX monorepo project. It streamlines the development workflow by providing a single terminal interface to manage all your services using traefik for unified routing.

Installation

npm install --save-dev @meticoeus/terminx

Usage

To use Terminx, create a terminx.yaml configuration file in your repository root, then run:

npx @meticoeus/terminx watch

Configuration

The terminx.yaml file expects the following structure:

commands: # optional, uses defaults below
  build: 'nx run-many --target=build --all' # Optional, defaults shown
  watch: 'nx run-many --target=watch --all --parallel' # Optional, defaults shown

services:
  # Define each service in your NX monorepo
  service-a:
    environment: # Environment variables for this service
      PG_CONNECTION: 'postgresql://user:password@localhost:5432/db_a'

  service-b:
    environment:
      PG_CONNECTION: 'postgresql://user:password@localhost:5432/db_b'

traefik:
  dir: 'traefik' # Required: Directory containing local development Traefik configuration
  source: 'src' # Optional: Source directory for Traefik configs (default shown)
  target: 'dynamic' # Optional: Target directory for generated configs (default shown)

Configuration Options

Commands

Customize commands for building and watching your NX projects:

  • build: Command to build services
  • watch: Command to watch services for changes

If you want to configure a subset of services, you could specify a list of tasks to run:

commands:
  build: 'nx run-many --target=build -p service-a service-b'
  watch: 'nx run-many --target=watch -p service-a service-b --parallel'

Or you could use tags

service-a project.json service-b project.json

{
  "tags": ["scope:services"]
}
commands:
  build: 'nx run-many --target=build --projects=tag:scope:services'
  watch: 'nx run-many --target=watch --projects=tag:scope:services --parallel'

Services

Each service you want to run in your NX monorepo must be defined here. The service name must match the project name in your NX workspace or project.json file.

  • environment: Environment variables to pass to the service

Traefik

Configuration for Traefik integration:

  • dir: Path to the Traefik configuration directory (required)
    • The directory must contain a docker-compose.yaml file to use to launch traefik
  • source: Source directory for Traefik configurations (default: "src")
  • target: Target directory for generated Traefik configurations (default: "dynamic")

In your source config files, document the port of each service using $<NAME_IN_SNAKE_CASE>_PORT, e.g. $SERVICE_A_PORT. These will be replaced in the dynamic version with your services' current ports. Ports are chosen from your operating system's ephemeral port pool dynamically so only your primary port that traefik listens to needs to be free.

Project Structure Requirements

Terminx expects:

  1. An NX monorepo with a valid nx.json file in the repository root
  2. Each service defined in the services section of terminx.yaml must have a corresponding directory in your NX workspace's app directory (by default servers/)
  3. Each service directory must contain a valid project.json file

Example

Check out the example/ directory for a complete example project showing how to set up and use Terminx with a multi-service NX monorepo.

Key Features

  • Unified Terminal UI: View the logs of all your services in a single terminal
  • Process Management: Start and monitor all your services
  • Traefik Integration: Automatically generate Traefik configurations for your services

License

[License information]