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

@tokmizer/plugin

v0.5.15

Published

Tokmizer reduces token consumption for AI coding tools (Claude Code, Codex, Cursor, Aider, Gemini CLI, Cline, Windsurf, Copilot). Cross-OS.

Readme

Tokmizer

Tokmizer reduces token consumption for AI coding tools: Claude Code, OpenAI Codex, Cursor, Aider, Gemini CLI, Cline, Windsurf, and GitHub Copilot. Works on macOS, Linux, and Windows.

It compresses noisy command output (logs, diffs, listings, test runs) before it reaches the model. Your agent does more work with the same context window, and you pay for fewer tokens.

Install

In Claude Code:

/plugin marketplace add Impulse-Creation/Tokmizer
/plugin install tokmizer

Any other tool (universal shell-shim):

curl -fsSL https://tokmizer.com/install.sh | bash

Windows (PowerShell):

npm install -g @tokmizer/plugin
tkr shim install

See scripts/README-INSTALL.md for per-tool notes.

Free tier

Optimization starts automatically. The free tier needs no account. To unlock Smart or Pro, subscribe at tokmizer.com, then:

tkr link

Commands

In Claude Code:

  • /tkr shows or changes settings
  • /tkr-link tokmizer_yourkey links a paid account
  • /tkr-unlink unlinks this machine from your account
  • /tkr-gain shows tokens saved
  • /tkr-status shows your current plan and usage
  • /tkr-compression picks the compression level (light, balanced, max)
  • /tkr-reducer makes the assistant's replies shorter (off, light, balanced, max). Smart and Pro
  • /tkr-telemetry views or changes anonymous telemetry
  • /tkr-update updates the plugin when a new version is out

From any terminal:

  • tkr status shows your current plan and status
  • tkr gain shows tokens saved
  • tkr link <key> links a paid account
  • tkr unlink unlinks this machine
  • tkr compression light|balanced|max picks how hard output gets compressed (default balanced)
  • tkr reducer off|light|balanced|max makes the assistant's replies shorter (default off). Smart and Pro
  • tkr settings show|set|configure manages settings and syncs them across your machines

What's in this repository

The user-facing parts of the Tokmizer plugin:

  • Plugin manifests for Claude Code (.claude-plugin/, hooks/) and Codex (codex-plugin/)
  • The /tkr slash commands (commands/)
  • Install scripts for macOS, Linux, and Windows (scripts/)
  • Selected plugin sources (src/): session UI, local stats and usage tracking, host detection, and the telemetry redaction rules that strip secrets before anything leaves your machine

The optimization engine and the API client are proprietary. They ship compiled with the @tokmizer/plugin npm package and are not part of this repository.

Privacy

  • Telemetry is opt-in (telemetryOptIn, default off).
  • Before any usage event is recorded, src/learn/redact.ts strips passwords, API keys, tokens, and cloud credentials. You can audit those rules here.
  • Local state lives in ~/.tokmizer/.

License

Proprietary. See LICENSE and the EULA at tokmizer.com/eula.