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

dumi-theme-antv

v0.1.1

Published

AntV website theme based on dumi2.

Readme

dumi-theme-antv

NPM version NPM downloads

此项目是 @antv/dumi-theme-antv 的 Fork 版本,原库部分内容无法修改或替换。

这是一个适用于 dumi 框架的主题包。

使用方法

将此主题安装为开发依赖:

$ npm i dumi-theme-antv -D

在 dumi 配置文件 .dumirc.ts 中进行配置:

import { defineConfig } from 'dumi';

export default defineConfig({
  themeConfig: {
    ...
  },
});

配置完成后,执行 dumi dev 即可使用此主题。

配置选项

themeConfig.docsearchOptions.sort 用于配置搜索结果的排序规则。可以通过字符串数组来定义排序逻辑:

  • 每个字符串可以是一个路径片段,用于匹配搜索结果的链接
  • 如果字符串以 ! 开头,则表示不包含该路径片段的结果应排在包含该路径片段的结果之前

其他配置选项待补充

开发指南

$ npm install

依赖安装完成后,会自动创建从 example/.dumi/theme../../src 的符号链接,使 dumi 将本主题作为本地主题加载,因此可以直接启动示例项目,支持热更新(HMR):

#切换到示例目录
$ cd example

#安装示例项目依赖
npm install

#启动开发服务器预览
npm run dev

dumi主题开发文档: https://next.d.umijs.org/theme

LICENSE

MIT 许可证