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

@shellraining/theme

v1.0.1

Published

shellRaining's blog theme

Readme

shellRaining's blog theme

blog light theme

blog dark theme

特性

  1. 性能极佳:lighthouse 四项全部满分,LCP 仅需 0.4s
  2. 自定义字体:可以任意设置自己需要的字体,主题会自动进行子集化工作,无需担心引入字体过大
  3. 拓展 markdown 语法:新增 math、sup、sub、mark、mark、taskList 语法
  4. viewer.js 图片预览:可以在文章页面放大预览
  5. 完善的类型支持:主题提供了完善的类型支持,可以在编辑器中获得智能提示
  6. 文章编辑历史:通过将 git 提交历史信息注入文章中,可以查看文章的编辑历史
  7. 完善的主题配色:博客提供了亮暗两种配色,并对主题做了多种优化

安装使用

ni @shellraining-blog/theme # 将 ni 替换为你喜欢的包管理器

现在 .vitepress/theme/index.ts 中添加下面代码引入主题:

import shellRainingBlogTheme from "@shellraining-blog/theme";
import type { Theme } from "vitepress";

export default {
  extends: shellRainingBlogTheme,
} satisfies Theme;

然后你可以在 .vitepress/config.ts 中这样修改主题配置

import { defineConfigWithTheme } from "vitepress";
import { shellRainingBlogConfig } from "@shellraining-blog/theme/config";
import type { ShellRainingBlogThemeConfig } from "@shellraining-blog/theme/config";

export default defineConfigWithTheme<ShellRainingBlogThemeConfig>({
  extends: shellRainingBlogConfig,
  // 你自己的配置...
});