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

@hugosjxu/qq-icons

v0.3.1

Published

QQ design system icon library - standalone React SVG icon components

Downloads

522

Readme

@hugosjxu/qq-icons

QQ icon adapter package based on tdesign-icons-react. The package also bundles local SVG assets from your qui-icons resource set.

1) 本地联调安装(推荐先这样)

在你的业务项目里执行:

npm install /Users/ssx/Desktop/AI相关/codex/text_02/packages/qq-icons

这会把本地包作为依赖安装,方便你先验证映射效果。

2) 常规安装(发布后)

npm install @hugosjxu/qq-icons

3) 基础使用

import { QQIcon } from "@hugosjxu/qq-icons";

export function Demo() {
  return (
    <>
      <QQIcon name="camera_aio_oversized" size="28px" />
      <QQIcon name="camera_aio_oversized_light" size="28px" />
      <QQIcon name="filelook_pdf" size="52px" />
    </>
  );
}

4) 扩展映射

import { registerIcon } from "@hugosjxu/qq-icons";

registerIcon("my_custom_icon", "AddIcon");

5) 查看解析结果(调试)

import { resolveIconExportName } from "@hugosjxu/qq-icons";

console.log(resolveIconExportName("camera_aio_oversized"));
// => CameraIcon

6) 发布到 npm(可选)

在包目录执行:

cd /Users/ssx/Desktop/AI相关/codex/text_02/packages/qq-icons
npm login
npm publish --access public

如果你要私有包,请按你们组织源配置发布权限。

Notes

  • name 支持:
    • QQ 语义名(例如 *_aio_oversizedfilelook_*
    • 直接传 tdesign-icons-react 的导出名(例如 SearchIcon
  • 解析优先级:
    1. 显式 iconNameMap
    2. 规则映射(filelook_* / online_filelook_* / plugin_* / *_oversized
    3. 本地 SVG 资源回退(icons/*.svg
    4. 回退 HelpCircleIcon