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

foveance-proxy

v0.5.2

Published

Drop-in launcher for the Foveance token-optimization codec proxy — cut LLM input tokens up to 82% losslessly, in front of any OpenAI- or Anthropic-compatible tool. Wraps the Python `foveance proxy` so npm/npx users can start it without a manual Python ste

Readme

foveance-proxy (npm launcher)

Cut LLM input tokens up to 82% — losslessly. Not one line of your app changed.

Your AI agent re-sends its whole history on every turn — the same listings, tool outputs and stack traces, over and over. Foveance is a real lossless codec for that context: like gzip finds repeated bytes, it replaces text that already appeared with a compact back-reference, removing tokens without removing information. Nothing is dropped, every fact survives.

This is a tiny Node launcher for the Foveance proxy, so users of Node-based AI tools (Claude Code, OpenAI Codex, opencode, Crush, Continue, ...) can start it with one command, without a manual Python step. The proxy is OpenAI- and Anthropic-compatible, streams, and forwards your API key untouched — you only point a client's base URL at it.

Prerequisites

  • Node.js >= 16
  • Python >= 3.10 with Foveance installed once:
pip install foveance

Use

# OpenAI upstream
npx foveance-proxy --upstream https://api.openai.com/v1

# Anthropic upstream (Claude Code, Anthropic SDK)
npx foveance-proxy --upstream https://api.anthropic.com/v1

# Local Ollama / vLLM / TGI / LM Studio
npx foveance-proxy --upstream http://localhost:11434/v1

All flags are forwarded to foveance proxy (--host, --port, --budget, --drift, --policy, --upstream, --cache-aware, --price-per-mtok), and the FOVEANCE_UPSTREAM / FOVEANCE_BUDGET / FOVEANCE_DRIFT / FOVEANCE_POLICY environment variables are honoured too. A live tokens-saved dashboard serves at http://localhost:8799/ while the proxy runs.

Even simpler: the Python CLI has foveance wrap claude (or foveance wrap -- <any command>), which starts the proxy, routes the tool through it, and prints a tokens-saved summary on exit.

Then point your tool at it (one variable):

# OpenAI-style tools, Codex, Ollama-backed clients
export OPENAI_BASE_URL=http://localhost:8799/v1

# Anthropic-style tools, Claude Code
export ANTHROPIC_BASE_URL=http://localhost:8799

See the main README and docs/usage.md for per-tool recipes. This launcher is a convenience wrapper; the proxy itself lives in the Python package.

Apache-2.0.