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

hexo-hot-config

v1.0.1

Published

Hexo 热配置插件,支持配置热更新

Readme

Hexo Hot Config

npm version Hexo version license GitHub Repo stars

Hexo 热配置插件,支持主题配置热更新

功能特性

  • 监听 _config.{theme}.yml 文件变化,自动重新生成页面
  • 无需重启 Hexo 服务器即可实时预览主题配置更改

安装

npm install hexo-hot-config --save

使用方法

安装插件后,无需额外配置,只要运行 Hexo 服务器命令即可自动启用:

hexo server

当你修改 _config.{theme}.yml 文件时(其中 {theme} 是你当前使用的主题名称),插件会自动检测变更并重新生成页面,无需手动重启服务器。

工作原理

  1. 插件会在 Hexo 服务器启动时初始化配置监听器
  2. 监听独立的主题配置文件 _config.{theme}.yml 的变更
  3. 当检测到文件变更时,重新加载配置并合并到 Hexo 主题配置中
  4. 触发页面重新生成,实时更新预览效果

注意事项

  • 仅在运行 hexo server 命令时生效
  • 如果 _config.{theme}.yml 不存在于 Hexo 项目根目录,则该插件将不会执行监控
  • 配置文件必须是有效的 YAML 格式,否则可能导致加载失败

依赖

  • Node.js >= 12.13.0
  • Hexo >= 6.0.0
  • chokidar ^3.5.3
  • js-yaml ^4.1.0
  • hexo-util ^3.0.1

许可证

MIT © huazie