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

ith-ui-react-antd

v0.1.5

Published

ITH React + Ant Design business component library

Readme

ith-ui-react-antd

ITH 新一代 React + Ant Design + TypeScript 业务组件库。

当前组件(11 个对外 Th* 组件)

  • ThDialog:公司统一弹窗/抽屉、全屏和操作栏。
  • ThEditorThEditorHtml:富文本编辑与只读展示。
  • ThSelectPage:分页弹窗单选/多选。
  • ThRegion:异步地区级联。
  • ThUploadFileThUploadImg:附件与图片上传。
  • ThUploadBig:大文件 MD5、秒传、断点分片、进度与合并流程。
  • ThDownload:文件预览、水印与下载。
  • ThSearchDescPlan:更多条件与查询方案。
  • ThColumnSelect:列显示、顺序、宽度、冻结、导出和打印设置。

内部仍复用职责明确的实现模块,但 npm 对外组件名和表单 JSON 统一使用原来的 Th* 名称。

应用统一配置

旧组件库使用可变的 IthUI.config 单例。React 版本改为 Provider:应用只传一次 Token、请求头、接口基址和默认端点,组件 Props 仍可覆盖全局设置。

国际化

国际化沿用旧组件库 $langTh(key, 中文回退文案, params) 的规则。目前内置英文 en_US,默认语言仍是 zh_CN。组件固定文案会翻译,业务传入的标题、选项和接口数据保持原值;英文词条缺失时显示组件原有中文文案。

<IthUiProvider config={{ ...config, locale: 'en_US' }}>
  <App />
</IthUiProvider>

需要校正英文时,直接修改 src/locale.ts 中导出的 ithUiEnUS 词条。语言支持 enen-USen_US,其余值回退为 zh_CN