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 🙏

© 2025 – Pkg Stats / Ryan Hefner

hsh19900502

v1.0.25

Published

A TypeScript-based CLI tool that provides Git workflow automation, IDE project management, and MCP server configuration synchronization.

Readme

hsh - CLI Workflow Automation Tool

A TypeScript-based CLI tool that provides Git workflow automation, IDE project management, and MCP server configuration synchronization.

Installation

yarn install
yarn build:install

Features

Git Workflow Automation

  • hsh gcm <message> [--push] - Add all, commit with message, optionally push
  • hsh push - Interactive branch selection for pushing to remote
  • hsh merge <branch> - Safe merge with branch switching and pulling
  • hsh mr create - Create merge requests with JIRA integration
  • hsh branchout <branch> - Create new branch from master

Monorepo Management

  • hsh mono init - Initialize workspace with .hsh marker file
  • hsh mono cd <level> [--repo <name>] - Navigate to repo directories (root/client/server)

IDE Integration

  • hsh cursor - Open project in Cursor editor with config-based project selection
  • hsh claude - Open project in Claude Code editor with config-based project selection

MCP Server Management

NEW! Solve the problem of having to configure MCP servers individually for each project.

The Problem

Claude Code doesn't support global MCP server installation. You have to configure MCP servers in each project's .claude.json file individually, which is tedious and error-prone.

The Solution

hsh mcp sync - Synchronize MCP server configurations from a central location to all your projects

How It Works

  1. Create a central MCP configuration file at ~/.mcp/servers.json:
{
  "chrome-devtools": {
    "type": "stdio",
    "command": "npx",
    "args": ["chrome-devtools-mcp@latest"],
    "env": {}
  },
  "GitLab communication server": {
    "command": "npx",
    "args": ["-y", "@zereight/mcp-gitlab"],
    "env": {
      "GITLAB_PERSONAL_ACCESS_TOKEN": "your-token",
      "GITLAB_API_URL": "https://gitlab.example.com/api/v4"
    }
  },
  "jira": {
    "command": "npx",
    "args": ["-y", "@aashari/mcp-server-atlassian-jira"],
    "env": {
      "ATLASSIAN_SITE_NAME": "your-site",
      "ATLASSIAN_USER_EMAIL": "your-email",
      "ATLASSIAN_API_TOKEN": "your-token"
    }
  }
}
  1. Run the sync command:
hsh mcp sync
  1. The command will:
    • Read all MCP server configurations from ~/.mcp/servers.json
    • Update the mcpServers field for all projects in ~/.claude.json
    • Show you which servers were synced and how many projects were updated

Features

  • ✅ Idempotent - Safe to run multiple times
  • ✅ Atomic updates - Updates all projects at once
  • ✅ Clear feedback - Shows which servers and projects were updated
  • ✅ Validation - Checks for file existence and valid JSON

Example Output

$ hsh mcp sync
✔ Successfully synced MCP servers to 21 projects

MCP Servers synced:
  • chrome-devtools
  • Playwright
  • figma-mcp
  • GitLab communication server
  • jira
  • confluence

Projects updated:
  • /Users/you/project1
  • /Users/you/project2
  • /Users/you/project3
  ... and 18 more

Configuration

IDE Configuration

Create ~/hsh.config.json for IDE project management:

{
  "work": {
    "project1": "/path/to/work/project1",
    "project2": "/path/to/work/project2"
  },
  "personal": {
    "project3": "/path/to/personal/project3"
  }
}

Monorepo Setup

For monorepo commands, projects should have:

  • .hsh marker file in the root (created by hsh mono init)
  • Directory structure: <repo-name>/client/ and <repo-name>/server/

Development

# Install dependencies
yarn install

# Build the project
yarn build

# Build and install globally
yarn build:install

# Development mode
yarn dev

Requirements

  • Node.js with ES module support
  • Git
  • GitLab CLI (glab) for merge request features
  • Cursor editor (for cursor command)
  • Claude Code editor (for claude command)

License

MIT