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-statictalk

v1.0.0

Published

staticTalk plugin for theme-butterfly

Downloads

10

Readme

hexo-butterfly-statictalk

给 hexo-theme-butterfly 添加静态说说

安装

  1. 安装插件

    npm install hexo-butterfly-statictalk
  2. 添加说说内容 在 Hexo 根目录/source/_data 下新建 talk.yml

    单行基本格式如下:

    - content: 我是内容!
      timestamp:

    多行基本格式如下:

    - content: |
        静态说说,多行测试
        我是第二行
        我是第三行
      timestamp:

    在添加完成后执行 npx hexo-butterfly-statictalk 或者是 pnpm/yarn hexo-butterfly-statictalk 为说说生成时间 如果是全局安装,可以直接使用 hexo-butterfly-statictalk

  3. 添加配置信息 在 Hexo 的配置文件 或者 主题 的配置文件中添加

    staticTalk:
      enable:
      title:
      path:
      avatar:
      defaultStyle:
      customStyle:
      markdownRender:

配置解释

| 配置项 | 默认值 | 含义 | 类型 | | :------------: | :----------------------------------------------------------: | :------------------: | :-----: | | enable | false(必选) | 启用 staticTalk 插件 | Boolean | | title | 空(可选) | 配置说说页面标题 | String | | path | statictalk(可选) | 配置说说生成路径 | String | | avatar | 获取主题 avatar.img 配置或空(主题拥有 avatar.img 配置时可选) | 配置说说头像 | String | | defaultStyle | true(可选) | 使用插件默认样式 | Boolean | | customStyle | 空(defaultStyle 配置为 true 时可选) | 使用自定义样式 | String | | markdownRender | false(可选) | 开启 Markdown 渲染 | Boolean |

示例配置

staticTalk:
  enable: true
  title: 说说
  path: statictalk
  avatar:
  defaultStyle: true
  customStyle:
  markdownRender: true

鸣谢