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

@kishar/haia

v1.0.1

Published

Git wrapper for managing multiple identities

Readme

Haia

Git Identity Manager — A CLI tool for developers who manage multiple Git identities (work, personal, client projects, etc.) with automatic SSH host alias switching and local git configuration.

Features

  • 🎭 Multi-Profile Support — Create and manage unlimited identity profiles
  • 📦 Smart Clone — Clone repositories with automatic SSH host alias rewriting. Supports standard URLs (git@, https://) and short syntax (user/repo)
  • 🚀 Quick Init — Initialize new repos with pre-configured identity
  • ⚙️ Local Config — Automatically sets user.name and user.email per repository
  • 📡 Connection Testing — Verify SSH connections for your profiles
  • 🎯 Interactive Menu — Run haia without arguments for a guided experience

Installation

From npm

npm install -g haia

From Source

git clone https://github.com/syam-fh/haia.git
cd haia
npm install
npm link

Quick Start

1. Configure Your First Profile

haia config

You'll be prompted to enter:

  • Profile name (e.g., "Work", "Personal")
  • Git username
  • Git email
  • SSH Host alias (e.g., github.com-work)

2. Set Up SSH Config

Make sure your ~/.ssh/config matches your profile's SSH host alias:

# Work GitHub
Host github.com-work
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_ed25519_work

# Personal GitHub
Host github.com-personal
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_ed25519_personal

3. Clone with Identity

You can use the full URL or the short user/repo syntax:

# Short syntax (GitHub) - Automatically uses your profile's SSH host
haia clone my-org/backend-api

# Standard URL
haia clone [email protected]:my-org/backend-api.git

Select your profile, and Haia will:

  1. Rewrite the URL to use your SSH host alias (e.g., [email protected]:my-org/backend-api.git)
  2. Clone the repository
  3. Configure local user.name and user.email

Commands

| Command | Description | |---------|-------------| | haia | Show interactive menu | | haia clone <url\|user/repo> | Clone repository with identity profile. Supports user/repo shortcut | | haia init [directory] | Initialize new repository with identity profile | | haia commit | Stage all changes and commit | | haia push | Push changes to remote origin | | haia ping [profile] | Test SSH connection for a specific profile | | haia config | Manage identity profiles | | haia --help | Show help message |

Configuration

Profiles are stored in ~/.haia/config.json:

{
  "profiles": {
    "work": {
      "name": "Work",
      "username": "john-work",
      "email": "[email protected]",
      "sshHost": "github.com-work"
    },
    "personal": {
      "name": "Personal",
      "username": "johndoe",
      "email": "[email protected]",
      "sshHost": "github.com-personal"
    }
  }
}

Requirements

  • Node.js >= 16.0.0
  • Git installed and available in PATH

License

MIT © Syam