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

llm-viewer

v0.1.0

Published

Local Anthropic-compatible LLM proxy and request inspector

Downloads

28

Readme

LLM Viewer

LLM Viewer is a local proxy and request inspector for Anthropic-compatible APIs. It forwards streaming and non-streaming requests and records their responses for inspection in a web UI.

OpenAI-compatible endpoints are not supported yet.

Install

Node.js 20 or later is required.

Run with npm:

npx llm-viewer

Or install globally:

npm install --global llm-viewer
llm-viewer

To run from source:

git clone [email protected]:tyler66737/llm-viewer.git
cd llm-viewer
npm install
npm run build
npm start

Open http://127.0.0.1:8787 after startup.

Configure

Open Settings in the web UI to configure:

  • Anthropic-compatible base URL
  • Optional full Messages URL
  • Optional server-side API key
  • Local record directory

The default upstream is:

https://api.anthropic.com/v1/messages

For DeepSeek, set the base URL to:

https://api.deepseek.com/anthropic

If no server-side API key is configured, the proxy forwards the client's x-api-key header.

Use

Point the client's Anthropic base URL to:

http://127.0.0.1:8787/anthropic

Example request:

curl http://127.0.0.1:8787/anthropic/v1/messages \
  -H 'content-type: application/json' \
  -H 'anthropic-version: 2023-06-01' \
  -H 'x-api-key: YOUR_API_KEY' \
  -d '{
    "model": "claude-sonnet-4-5",
    "max_tokens": 256,
    "stream": true,
    "messages": [{"role": "user", "content": "Hello"}]
  }'

CLI Options

llm-viewer --host 127.0.0.1 --port 8787
llm-viewer --help

The server listens on 127.0.0.1:8787 by default. Binding to 0.0.0.0 exposes the UI and APIs to the local network.

Local Data

~/.llm-viewer/
├── settings.json
└── data/
    ├── index.json
    └── records/

License

MIT