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

@lixiyu/dsh-ui-compact

v0.1.0

Published

Compact chat/markdown typography: overrides the --dsw-font-markdown-* tokens to smaller sizes

Readme

@lixiyu/dsh-ui-compact

DeepSeek Harness 客户端插件:把聊天 / markdown 的排版改小一号,让回复更紧凑。

行为

浏览器侧注入一个插件自有的 <style> 标签,把 --dsw-font-markdown-* 这组 markdown 排版 token 重新声明为紧凑值(正文 13px/16px,h1 18px/22px,逐级缩小)。因为 base 把这些 token 声明在 body 上,同选择器下后注入的样式表胜出,所以本插件声明了 dsh.client.inject 依赖 @deepseek-ai/dsh-client-ui-theme,确保在其之后加载。

说明:只覆盖了 font: 消费的简写 token。若某个组件读的是长写字段(--dsw-font-markdown-base-font-size 等),需要在此插件里一并补上对应长写覆盖。

配置

无。字号是固定的紧凑值。

安装

dsh plugin --profile <name> add @lixiyu/dsh-ui-compact

手动插入一行:

- insert:
    - id: ui-compact
      name: '@lixiyu/dsh-ui-compact'
      config: {}

构建

pnpm install
pnpm run build

lib/client.js 采用 harness 的 window.__ModuleLoader__.load({ id, factory }) 闭包格式。若严格对齐 harness 的客户端构建(CSS Modules、lightningcss 编译、external 门禁),建议在 deepseek-harness 源码 checkout 内开发,或参考其 packages/client/tsdown.client.ts 的 clientBundle preset。依赖 @deepseek-ai/cordis 作为 peer dependency,由所在 profile 提供。