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

common-system

v1.0.37

Published

安装文档:【有道云笔记】开箱即用的 common-system 脚手架 https://share.note.youdao.com/s/Resq6mRG 通用组件文档:【有道云笔记】崇德项目复用组件、样式 https://share.note.youdao.com/s/Ta93lS8V 开发规范文档:【有道云笔记】前端项目开发规范 https://share.note.youdao.com/s/UNybVJbe

Readme

commonSystem

安装文档:【有道云笔记】开箱即用的 common-system 脚手架 https://share.note.youdao.com/s/Resq6mRG 通用组件文档:【有道云笔记】崇德项目复用组件、样式 https://share.note.youdao.com/s/Ta93lS8V 开发规范文档:【有道云笔记】前端项目开发规范 https://share.note.youdao.com/s/UNybVJbe

技术栈:react + react hooks + javascript + vite + antd

同类型系统复用框架

    1. 可复用框架
    1. 可复用组件
    1. 可复用样式/UI
    1. 可复用代码

目录结构描述

项目结构说明
├── public/                 # 存放不需要 Vite 处理的静态文件
│   ├── favicon.png        # 网站标签页图标
│   └── 其他文件
├── src/                   # 源代码目录
│   ├── assets/           # 静态资源(图片、字体等)
│   ├── common/           # 通用 hooks 函数
│   ├── commonCSS/        # 通用 CSS 样式文件
│   ├── components/       # 通用组件
│   ├── mock/            # Mock 接口配置
│   ├── pages/           # 页面组件
│   ├── request/         # 接口请求配置
│   ├── router/          # 路由配置
│   ├── store/           # 状态管理
│   ├── utils/           # 通用工具函数
│   ├── App.jsx          # 主应用组件
│   ├── global.less      # 全局样式文件
│   └── main.jsx         # 应用入口文件
├── .env.development     # 开发环境变量配置
├── .env.production      # 生产环境变量配置
├── .gitignore          # Git 忽略规则文件
├── eslint.config.js    # ESLint 配置文件
├── history.md          # 历史版本更新记录
├── index.html          # 最外层入口 HTML 文件
├── jsconfig.json       # JS 配置(路径别名等)
├── package-lock.json   # 依赖版本锁定文件
├── package.json        # 项目配置和依赖管理
├── README.md           # 项目说明文档
└── vite.config.js      # Vite 配置文件

环境说明

 1.首先安装 node,并确保 node 版本是 20 或以上。(推荐使用 nvm 来管理 node 版本)
    $ node -v
    20.x
2.安装依赖模块:
    npm install
3.启动本地开发:
    npm run dev
4.打包发布:
    npm run build

发布流程

  • 开发环境发布:
    1. 自己的分支合并到 dev
    2. 发布
  • 测试环境发布:
    1. 自己的分支合并到 test
    2. 发布
  • 正式环境发布
    1. 修改版本号
    2. history.md 记录发布人、发布内容和时间