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-blog-like

v3.0.0

Published

A simple and easy-to-use free blog like plugin.

Downloads

23

Readme

部署教程

下面开始部署教程,你可以使用Cloudflare或leancloud储存点赞数据

使用Cloudflare储存点赞数据后端一键部署:

Deploy to Cloudflare Workers

使用leancloud储存点赞数据需要提前注册好leancloud账号,只需要邮箱即可注册,无需绑定信用卡之类的,注册即用(中国大陆版要备案)。

npm一键部署

适用于Hexo框架,其他框架我没用过

在博客根目录粘贴以下命令一键安装

npm install hexo-blog-like --save

安装好后在博客根目录的_config.yml添加以下配置项:

Blog-Like:
  enable: true #是否启用插件
  Backend: Cloudflare # 或者 Leancloud | Cloudflare | PHP,默认Cloudflare
  CloudflareBackend: #你的Cloudflare后端地址
  PHPBackend: #自部署PHP后端地址
  AppID: #如果你使用Leancloud,记得填你的Leancloud ID和KEY
  AppKEY: #你的KEY
  xianzhi: true #是否限制点赞数,默认开启
  number: 5 #如果限制点赞数,限制的点赞数,默认为5个赞
  GoogleAnalytics: true #是否向谷歌分析发送点赞事件,默认关闭
  GAEventCategory: Engagement #点赞事件类别,默认Engagement
  GAEventAction: Like #事件名称,默认Like

完事后hexo clean && hexo g && hexo s启动博客,在你想要的位置插入如下代码块,打开博客瞅瞅效果吧!

<div id="zan" class="clearfix">
    <div class="heart" onclick="goodplus(url, flag)"></div>
    <br>
    <div id="zan_text"></div>
</div>

对你有帮助的话给我个Starred吧!

https://github.com/2010HCY/Blog-Like