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-tag-echarts-plus

v3.6.5

Published

A simple plugin for inserting ECharts5.x by using tags in Hexo.

Downloads

90

Readme

hexo-tag-echarts-plus

npm

本插件基于Konwbasehexo-tag-echarts4修改。

Insert Echarts in Hexo by using tags.

安装

  1. 安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:
npm install hexo-tag-echarts-plus --save
  1. 添加配置信息,以下为写法示例 在站点配置文件_config.yml或者主题配置文件_config.butterfly.yml中添加
# tag_echarts-plus
# see https://naokuo.top/posts/336fb21e/
tag_echarts:
  enable: true # 开关
  priority: 5 #过滤器优先权
  CDN:
    tag_echarts_js: https://npm.elemecdn.com/[email protected]/dist/echarts.min.js
    echarts_lazyload_js: https://unpkg.com/[email protected]/lib/scripts/naokuo_package.js
  1. 参数释义

|参数|备选值/类型|释义| |:--|:--|:--| |enable|true/false|【必选】控制开关| |priority|number|【可选】过滤器优先级,数值越小,执行越早,默认为10,选填| |CDN.tag_echarts_js|URL|【可选】echarts标签的JS依赖,为避免CDN缓存延迟,建议将@latest改为具体版本号|

Echarts外挂标签文档

  1. Tag Echarts Dome

  2. Echarts 官方实例

更新记录

  • 2023-11-25(v3.0.0):
    • 增加页面宽度自适应参考文档
    • 增加完全自定义参数内容
  • 2023-11-26(v3.5.0):
    • 增加JavaScript 严格模式(use strict)
    • 取消myChart的随机数id
  • 2023-11-30(v3.6.0):
    • 使用IntersectionObserver API实现懒加载
    • 使用ResizeObserver API实现宽度自适应

已知问题

  1. pjax存在兼容问题
  2. 一些存在图表兼容问题