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

claude-login-share

v1.0.1

Published

Share your Claude Code login to another Mac. No browser needed.

Readme

claude-login-share

Share your Claude Code login to another Mac. No browser needed.

You have Claude Code on your work Mac. You want it on your personal Mac too. Normally you'd need to log in via browser on the second machine. This skips that.

Usage

On the Mac that's logged in:

npx claude-login-share

A transfer command gets copied to your clipboard. Send it to the other machine (AirDrop, iMessage, Slack, whatever).

On the target Mac:

Paste the command in Terminal. Done. Run claude and you're in.

What it does

  1. Extracts Claude Code OAuth credentials from macOS Keychain
  2. Strips MCP tokens, local data, and session info (only shares auth)
  3. Base64 encodes to avoid shell quoting issues
  4. Copies a self-contained transfer command to clipboard
  5. The command uses a leading space to skip shell history

What it doesn't do

  • No settings, projects, or CLAUDE.md files are transferred
  • No MCP server configs are shared
  • No session history is transferred
  • Nothing is sent to any server. It's clipboard to clipboard.

Install

# One-time use (recommended)
npx claude-login-share

# Or install globally
npm i -g claude-login-share

# Or via Homebrew
brew install yuvrajangadsingh/tap/claude-login-share

# Or curl (no Node required)
curl -sL https://raw.githubusercontent.com/yuvrajangadsingh/claude-login-share/main/share-login.sh | bash

Requirements

  • macOS on both machines
  • Claude Code installed on both
  • Logged into Claude Code on the source machine

Works with Pro, Max, Teams, and Enterprise subscriptions.

Security

  • Credentials never leave your clipboard. No network calls.
  • MCP tokens are stripped before sharing. Only OAuth auth is transferred.
  • The transfer command includes a leading space so it doesn't appear in shell history on most shells.
  • The credential is base64 encoded in transit but is NOT encrypted. Don't post it publicly.

How it works (technical)

macOS Keychain ("Claude Code-credentials")
  → security find-generic-password -s "Claude Code-credentials" -w
  → plutil extracts claudeAiOauth (strips MCP tokens)
  → base64 encode
  → pbcopy (clipboard)
  → recipient pastes: security add-generic-password -s "Claude Code-credentials" ...

Uses plutil (ships with every Mac since 10.2) for JSON parsing. No Python, no jq, no external dependencies.

License

MIT