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

z-icon

v1.0.2

Published

哲品开发用字体库

Readme

关于z-icon

z-icon茶听项目中使用图标字体抽离成独立的node package,以方便多个小程序可以共用

Demo地址:http://120.77.37.44/z-icon/demo/

使用z-icon

安装(之前请确保你已经切换为私有npm仓库)

npm i --save z-icon

引入字体

App.vue中引入

<style lang="scss">
  @import "~z-icon/iconfont.css";
</style>

页面内使用

template中使用

<text class="icon-home"></text>

开发与维护z-icon

编译z-icon

npm run build

预览效果

在执行完编译后,可用浏览器打开./demo/index.html来预览效果

生产流程

  1. 设计师出图——.svg文件(建议使用去除颜色后的图片)
  2. .svg文件上传到项目中的./svgs目录下
  3. iconfont.cn网站,上传所有svg图片并生成字体,然后下载代码
  4. 打开下载代码文件夹中的iconfont.css文件,用该文件中的classname定义覆盖掉iconfont.dev.css中所有的classname定义
  5. 下载代码文件夹中的iconfont.woff文件替换掉项目目录中的fonts/iconfont.woff
  6. 上传代码
  7. 运行npm publish(不用编译)