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

deepseek-chat

v2.0.2

Published

DeepSeek命令行聊天工具

Readme

DeepSeek Chat

License: MIT

一个基于 DeepSeek API 的命令行聊天工具,支持流式响应和配置持久化。

功能特性

  • 🌟 命令行交互:直接在终端与 DeepSeek 模型聊天。
  • 🔑 配置持久化:首次使用时配置 API 密钥和基础 URL,后续无需重复输入。
  • 🚀 流式响应:实时接收模型响应,体验更流畅。
  • 🎨 彩色输出:使用 chalk 实现彩色终端输出,提升可读性。
  • ⚙️ 灵活配置:支持自定义 API 基础 URL 和其他参数。

安装

通过 npm 全局安装:

npm install -g deepseek-chat

配置 API 参数

首次使用需要配置 DeepSeek API 密钥和基础 URL:

deepseek-chat add

按照提示输入以下信息:

模型名称:xxx 模型ID:默认deepseek-ai/DeepSeek-V3 API 密钥:您的 DeepSeek API 密钥。 API 基础 URL:DeepSeek API 的基础 URL(默认:https://api.deepseek.com/v1)。

配置完成后,信息会存储在本地,后续无需重复输入。

启动聊天

运行以下命令启动聊天:

deepseek-chat chat

查看帮助

查看所有可用命令和选项:

deepseek-chat --help

示例

配置 API 参数

$ deepseek-chat add
🌟 首次使用需要配置API参数
? 请输入模型名称:DeepSeek-V3
? 请输入模型ID:deepseek-ai/DeepSeek-V3
? 请输入模型API密钥: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
? API基础地址(默认:https://api.deepseek.com/v1): https://api.deepseek.com/v1
✅ 配置 DeepSeek-V3 已保存!

切换模型

$ deepseek-chat switch
? 请选择要使用的模型: (Use arrow keys)
> Deepseek_V3
  Qwen2.5-Coder-7B

修改模型配置

$ deepseek-chat edit
? 请选择要修改的模型: (Use arrow keys)
> Deepseek_V3
  Qwen2.5-Coder-7B

删除模型

$ deepseek-chat delete

启动聊天

deepseek-chat chat
💬 进入聊天模式

你: 你好,DeepSeek!
DeepSeek: 你好!有什么我可以帮你的吗?

查看所有模型配置

deepseek-chat list
🚀 配置信息:
   模型名称:DeepSeek-V3
   模型ID:deepseek-ai/DeepSeek-V3
   API密钥:sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
   API地址:https://api.siliconflow.cn/v1

许可证

本项目基于 MIT 许可证 开源。