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

@harshsandhu44/muxx

v1.2.2

Published

Minimal tmux session automation CLI

Downloads

517

Readme

muxx

Minimal tmux session automation CLI.

Goal

A focused, dependency-light CLI for managing tmux sessions from the terminal. No TUI, no plugins, no telemetry — just a clean interface over tmux commands.

MVP Scope

  • List active tmux sessions
  • Attach to a session by name or default to the most recent
  • Kill a session by name
  • Print the currently attached session

Commands

| Command | Alias | Description | |---|---|---| | muxx | | Connect to a session in the current directory | | muxx connect [dir] [--name <n>] [--no-attach] [--cmd "<cmd>"] | c | Connect to or create a tmux session | | muxx list [--json] | ls | List all tmux sessions | | muxx kill <name> [--force] | k | Kill a session by name | | muxx current | cur | Print the current session name | | muxx completion <bash\|zsh\|fish> | | Print shell completion script |

Shell Completion

muxx can print completion scripts for bash, zsh, and fish.

bash

Add to ~/.bashrc:

eval "$(muxx completion bash)"

zsh

Add to ~/.zshrc (after compinit):

eval "$(muxx completion zsh)"

Or write to a file in your $fpath for faster startup (run once):

muxx completion zsh > "${fpath[1]}/_muxx"

Note: The eval line must appear after compinit in your ~/.zshrc. If you use a framework like Oh My Zsh or Prezto, compinit is called for you — just add the eval line after the framework is loaded.

fish

Run once to install:

muxx completion fish > ~/.config/fish/completions/muxx.fish

Requirements

  • Node.js 18+
  • tmux installed on the system

Installation

npm install -g @harshsandhu44/muxx

Development

npm install
npm run dev -- list        # run via tsx (no build needed)
npm run build              # compile to dist/
npm run typecheck          # type-check without emitting
npm run clean              # remove dist/

Config

Optional config file at ~/.config/muxx/config.json. Defines named projects so you can run muxx connect <name> without typing the full path.

{
  "projects": {
    "vitaq": { "cwd": "~/Code/vitaq" },
    "muxx": { "cwd": "~/Code/personal/muxx" }
  }
}

If the target matches a project key, its cwd is used. Otherwise the target is treated as a directory path.

Installation (from source)

npm run build
npm link

Releases

Releases are fully automated via semantic-release on every push to main.

How it works

  1. Every push to main runs typecheck, tests, and build.
  2. If all pass, semantic-release analyzes commits since the last release.
  3. If releasable commits exist, it bumps the version, publishes to npm, and creates a GitHub release.

Commit convention

This project uses Conventional Commits. Only certain commit types trigger a release:

| Commit type | Release type | |---|---| | fix: | patch (e.g. 0.1.00.1.1) | | feat: | minor (e.g. 0.1.00.2.0) | | BREAKING CHANGE: in footer | major (e.g. 0.1.01.0.0) |

Types like chore:, docs:, test:, refactor: do not trigger a release.

Required GitHub secrets

| Secret | Description | |---|---| | NPM_TOKEN | npm access token with publish rights (create at npmjs.com → Access Tokens) | | GITHUB_TOKEN | Automatically provided by GitHub Actions — no setup needed |

Smoke test (pre-publish verification)

# 1. Build and pack (produces muxx-<version>.tgz)
npm run build
npm pack

# 2. Install the tarball globally
npm install -g ./muxx-*.tgz

# 3. Verify the binary runs
muxx --help
muxx list

# 4. Uninstall when done
npm uninstall -g muxx