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 🙏

© 2024 – Pkg Stats / Ryan Hefner

hexo-butterfly-envelope

v1.0.15

Published

A commentsbar beautify plugin for theme-butterfly

Downloads

2,866

Readme

hexo-butterfly-envelope

hexo-theme-butterfly添加 信封样式留言板

安装

  1. 安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:
npm install hexo-butterfly-envelope --save
  1. 添加配置信息,以下为写法示例 在站点配置文件_config.yml或者主题配置文件_config.butterfly.yml中添加
  # envelope_comment
  # see https://akilar.top/posts/e2d3c450/
  envelope_comment:
    enable: true #控制开关
    custom_pic:      
      cover: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/violet.jpg #信笺头部图片
      line: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/line.png #信笺底部图片
      beforeimg: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/before.png # 信封前半部分
      afterimg: https://unpkg.zhimg.com/hexo-butterfly-envelope/lib/after.png # 信封后半部分
    message: #信笺正文,多行文本,写法如下
      - 有什么想问的?
      - 有什么想说的?
      - 有什么想吐槽的?
      - 哪怕是有什么想吃的,都可以告诉我哦~
    bottom: 自动书记人偶竭诚为您服务! #仅支持单行文本
    height: #1050px,信封划出的高度
    path: #【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html
    front_matter: #【可选】comments页面的 front_matter 配置
      title: 留言板
      comments: true
  1. 参数释义

|参数|备选值/类型|释义| |:--|:--|:--| |enable|true/false|控制开关| |custom_pic.cover|URL|信笺头部图片链接| |custom_pic.line|URL|信笺底部图片链接| |custom_pic.beforeimg|URL|信封前半部分图片链接| |custom_pic.afterimg|URL|信封后半部分图片链接| |message|text|信笺正文,支持多行文本,写法见上文示例| |bottom|text|信笺底部信息,仅支持单行文本| |height|1050px|默认1050px,信封划出的高度| |path|comments|【可选】comments 的路径名称。默认为 comments,生成的页面为 comments/index.html| |front_matter|object|【可选】comments页面的 front_matter 配置,写法见上文示例|

截图