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

primellm

v1.3.5

Published

Configure Claude Code and Codex to use PrimeLLM as the backend

Downloads

2,161

Readme

PrimeLLM CLI

Configure Claude Code and Codex to use PrimeLLM as the backend

A production-grade CLI installer that configures AI coding tools to use PrimeLLM's unified API.

Quick Start

npx primellm

Features

  • 🎨 Beautiful UI - ASCII art banner and progress indicators
  • 🔍 System Detection - Automatically detects OS, shell, and Node version
  • 🛠 Tool Selection - Choose between Claude Code or Codex
  • 📦 Smart Installation - Only installs tools if not already present
  • 🔑 Secure API Key Flow - Masked input with validation
  • 📁 Flexible Scope - System-level or project-level configuration

Supported Tools

| Tool | Package | Command | |------|---------|---------| | Claude Code | @anthropic-ai/claude-code | claude | | Codex | @openai/codex | codex |

Usage

Interactive Mode

Simply run the CLI and follow the prompts:

npx primellm

What it Does

  1. Detects your system - Shows OS, shell, and Node version
  2. Asks which tool - Claude Code or Codex
  3. Checks installation - Skips install if already present
  4. Gets your API key - Opens browser if you need to create one
  5. Configures the tool - Writes config with PrimeLLM backend

Configuration

System-level (recommended)

Applies to all projects. Config stored in:

  • Claude Code: ~/.claude/config.json
  • Codex: ~/.codex/config.json

Project-level

Applies to current project only. Config stored in:

  • Claude Code: ./.claude/config.json
  • Codex: ./.codex/config.json

API Key

Your PrimeLLM API key:

  • Must start with primellm_
  • Can be created at: https://primellm.in/dashboard/api-keys

Requirements

  • Node.js >= 18.0.0
  • npm or npx

Development

# Clone the repo
git clone https://github.com/rishuuu-codesss/primellm-backend.git
cd primellm-backend/primellm-cli

# Install dependencies
npm install

# Run in development
npm run dev

# Build
npm run build

License

MIT

Links