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-he-calendar

v2.0.3

Published

A beautiful Chinese-style calendar plugin for Hexo based on he-calendar.

Downloads

119

Readme

hexo-he-calendar

A heartfelt Chinese-style calendar 🍵 — Hexo plugin edition

中文文档

hexo-he-calendar is a Hexo plugin wrapper around he-calendar. With a simple configuration, you can embed a beautiful Chinese-style calendar (with lunar calendar and almanac) into your Hexo blog.

Features

  • 🎨 24 Solar Term themes: Automatically adapts colors based on the current solar term
  • 📅 Lunar calendar & almanac: Lunar date, solar terms, traditional festivals, and daily auspicious/inauspicious activities
  • 🌈 Multiple themes: Built-in theme styles with auto light/dark mode support
  • ⚡ Zero CSS conflicts: Rendered inside an iframe for perfect compatibility with any Hexo theme

Installation

Run the following in your Hexo blog root:

npm install hexo-he-calendar --save
# or
yarn add hexo-he-calendar

Configuration

Add the following configuration to your Hexo _config.yml (optional):

he_calendar:
  enable: true            # Enable or disable
  route: he-calendar/     # Route path for the calendar static assets
  width: 100%             # Default embed width
  height: 600px           # Default embed height (180px if view is week)
  view: month             # View mode: 'month' (default) or 'week' (sidebar mode)
  defaultTheme: auto      # Default theme color: 'auto' (default), 'default' (elegant), 'ink' (black), 'red' (cinnabar), 'gold' (golden), 'cyan' (dark blue)
  colorMode: auto         # Dark/Light mode: 'auto' (follow system), 'light', or 'dark'
  hideHeader: false       # Whether to hide the calendar header (year/month selector & actions)
  border_radius: 12px     # Border radius of the embed container

Usage

Use the {% he_calendar %} tag in any Markdown post/page:

# My Calendar Page

Welcome!

{% he_calendar %}

You can also override settings per usage:

# Override width and height
{% he_calendar 800px 500px %}

# Only show the current week (useful for narrow sidebars)
{% he_calendar view=week %}

# Hide the top header area
{% he_calendar hideHeader=true %}

# Set default theme to cinnabar red
{% he_calendar defaultTheme=red %}

# Force dark mode
{% he_calendar colorMode=dark %}

# Combine overrides
{% he_calendar width=300px height=200px view=week hideHeader=true defaultTheme=ink colorMode=light %}

How it works

During the Hexo generate phase, this plugin publishes the prebuilt he-calendar static files to public/he-calendar/ (configurable), and embeds the app via an iframe to ensure the calendar layout remains intact and avoids any style collisions with your Hexo theme.

License

MIT