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

wsq-update-iconpark

v1.0.0

Published

用于更新使用了iconpark图标库的图标文件在对应的项目中

Readme

Features

update-iconpark用于更新项目中使用的iconpark图标资源的脚本

Installation

该脚本需要 Node.js >= 12.20.0 作为运行环境. 如果你没有 Node.js 的话点这里去下载 Node.js. (后面有出现高版本的node安装会报连接不上,所以建议用 ^12.20.0 的版本来安装)

// Using npm
npm install wsq-update-iconpark --global

// Using yarn
yarn global add wsq-update-iconpark

// Using pnpm
pnpm install wsq-update-iconpark --global

How to Use

初始化

update-iconpark i

运行后,您的目录中将有一个iconpark-options.json文件。在其中,您将看到一些配置如下:

{
  "groupID": "11510",
  "downloadDir": "./src/assets/icon/iconpark.js",
  "cookie": "6a719160c39c59bbb38cfea5ebc6528f",
  "csrfToken":""
}

更新

注意事项:需要确保downloadDir这个字段的文件是存在的

update-iconpark u

Configuration

groupID

  • 登入iconpark网站后按照红色字标顺序操作,先点击项目管理,找到自己项目所在的项目组进入

  • 复制地址栏中projects后面的数字,写入到json文件中的groupID字段

downloadDir

  • 项目中iconpark.js的文件位置

cookie 获取方式

  • 如果还没有cookie或者cookie过期了,先登入进去,在打开项目管理前,先f12打开控制台,如下图所示找到网络选项打开,选择Fetch/XHR选项,然后随便点击一个名称中的请求,找到划红色线部分的字段,将该字段的名称和值都放到cookie中 cookie: "669e9bc72d8ea68bed14dd546f2824ba"

Changelog