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-code-deepseek-monitor

v1.0.27

Published

DeepSeek 用量实时监控插件 — Claude Code 底部状态栏显示 token、费用、余额

Readme

Claude Code DeepSeek Monitor

DeepSeek API 用量实时监控 — 在 Claude Code 底部状态栏显示 token 消耗、费用和账户余额。

安装

npm install -g claude-code-deepseek-monitor

效果

安装后重启 Claude Code,底部实时显示:

[DeepSeek V4 Pro] ██░░░ 45% (50K/1M) | 费用 +¥0.01 ¥0.50  余额 ¥14.00

使用

| 命令 | 说明 | |------|------| | /usage | 完整彩色仪表盘 | | /usage --short | 一行精简版 | | /usage --refresh | 强制刷新余额 | | deepseek-monitor --short | 终端直接查询 |

功能

  • 📊 实时底部状态栏 — Token 用量、上下文百分比、余额
  • 💰 DeepSeek 余额 — 自动查询 API 余额,30 秒刷新
  • 🎨 中文界面 — 费用、余额、上下文全中文
  • 🚨 余额预警 — 低于 ¥5 🟡 低于 ¥1 🔴
  • 🔄 上轮费用追踪 — 显示每次对话增量

定价

内置 DeepSeek V4 Pro 2.5 折价格(可配置环境变量覆盖):

  • 输入(缓存未命中): ¥3/M tokens
  • 输入(缓存命中): ¥0.025/M tokens
  • 输出: ¥6/M tokens
export DEEPSEEK_INPUT_PRICE=3
export DEEPSEEK_OUTPUT_PRICE=6
export DEEPSEEK_CACHE_HIT_PRICE=0.025

卸载

npm uninstall -g claude-code-deepseek-monitor

License

MIT