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

zy-react-data

v1.0.6

Published

```bash yarn add zy-react-data ```

Readme

zy-react-data 数据包文档

快速开始

安装

yarn add zy-react-data

📄 更新日志

v1.0.0 (2026-08-25)

  • 🎉 初始版本发布

使用方式

JSON、枚举均按目录引入:

import Area from "zy-react-data/json/area.json";
import { DICTIONARY_APP_KEY_ENUM } from "zy-react-data/enum/dictionary";

说明

  • 枚举的类型说明根据包内 .d.ts 类型声明整理。
  • 业务项目可以独立升级本包,不需要同步升级 zy-react-library。

静态 JSON

| 文件 | 引入路径 | 简要说明 | | --- | --- | --- | | area.json | zy-react-data/json/area.json | 行政区域树形数据,供地区级联、地区树选择使用。 | | industry.json | zy-react-data/json/industry.json | 行业分类树形数据,供行业级联、行业树选择使用。 | | nation.json | zy-react-data/json/nation.json | 民族数据列表。 |

枚举

| 枚举 | 引入路径 | 简要说明 | | --- | --- | --- | | DICTIONARY_APP_KEY_ENUM | zy-react-data/enum/dictionary | 字典接口使用的 appKey 常量,包含 DEFAULT、GWJ。 | | HIDDEN_SOURCE_ENUM | zy-react-data/enum/hidden/gwj | 隐患来源选项列表。 | | HIDDEN_STATE_ENUM | zy-react-data/enum/hidden/gwj | 隐患状态选项列表。 | | HIDDEN_RECTIFICATION_TYPE_ENUM | zy-react-data/enum/hidden/gwj | 隐患整改类型选项列表。 | | UPLOAD_FILE_TYPE_ENUM | zy-react-data/enum/uploadFile | 文件上传类型编码枚举。 | | UPLOAD_FILE_PATH_ENUM | zy-react-data/enum/uploadFile | 文件上传类型编码到服务端路径标识的映射。 |