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-daodao-sao

v1.0.1

Published

适用于 hexo 框架的插件

Downloads

1

Readme

hexo-daodao-plus

适用于 hexo 框架的插件, 添加了首页说说和页面说说. 参考了NPM插件的开发 | Akilarの糖果屋, JavaScript 和 CSS 代码参考了 Rock-Candy-Tea/daodao (github.com) , 非常感谢 Akilarの糖果屋 - Akilar.top小冰博客 - 做个有梦想的人! (zfe.space)

安装

在 hexo 博客根目录运行 npm 命令

npm install hexo-daodao-plus --save

配置

在主题文件夹下 (或者根目录) 的 _config.yml 中添加下面的配置项

daodao_plus:
  enable: 
    page: true
    card: true
  priority: 0
  filter: 
  url: https://daodao-kai.vercel.app/
  path: daodaoplus 
  front_matter: 
    title: 闲话板砖
    comments: true
  CDN: 
    dd_js: https://cdn.jsdelivr.net/npm/[email protected]/static/js/index.min.js # daodao-kai 避免单纯的改动也要使 hexo-daodao-plus 重新发布
    dd_css: https://cdn.jsdelivr.net/npm/[email protected]/static/css/index.min.css
    js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/main.js
    css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/main.css

配置项说明

| 配置项 | 默认 | 说明 | | ------------ | ------------------------- | ----------------------------------------------- | | enable.page | 必填 | 单独叨叨页面的开关 | | enable.card | 必填 | 首页叨叨 swiper 的开关 | | url | 必填 | 叨叨后端的 api | | CDN | 必填 | 引入的 CSS 和 JavaScript 文件的链接 | | priority | 0 | 过滤器优先级, priority 值越低, 过滤器会越早执行 | | filter | ['iframe','img','script'] | 设置叨叨不在首页显示的标签类型 | | path | daodaoplus | 路径名称, 生成的页面为 [path]/index.html | | front_matter | 非必填 | 页面自定义 front_matter |

截图

image

image-20210721175549888

Snipaste_2021-08-13_13-37-13.png

Snipaste_2021-08-13_13-41-28.png

Snipaste_2021-08-13_13-39-51.png