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

gx-health-code-common

v0.1.0

Published

gx-health-code 公共模块

Readme

common 执行命令

npm run gen -新建组件 npm run build:lib - 打包 npm run dev:doc - 打包并生成文档,打开文档

common 组件库 目录

common ├── .vscode ├── dist // src打包后的静态文件 ├── docs // 组件库生成文档的静态文件 ├── docsStatic // 替换vuese引入的静态文件 │ ├── docute.css │ └── docute.js ├── generators // plop 快速生成文件模板 │ ├── packagesComponent // 组件模板 │ │ ├── component.vue.hbs │ │ ├── index.js.hbs │ │ └── index.js │ └── index.js ├── lib // 组件库打包后的文件 ├── packages // 组件库源码 │ ├── Chart // 基于eCharts封装组件 │ │ ├── src │ │ │ ├── components │ │ │ └── index.vue │ │ └── index.js // 该组件入口文件 │ ├── ...其他组件 │ ├── utils // 工具类 │ │ ├── childRender.js // 子应用渲染方法 │ │ ├── commonStore.js // 动态vuex模块,与onGlobalStateChange结合使用,集成登录、注销、菜单、应用等共有模块 │ │ ├── fetch.js // 统一封装axios请求,集成token、白名单、HTTP异常等处理 │ │ ├── routerAuth.js // 子应用路由通用拦截,token、白名单、动态菜单等 │ │ └── index.js // 该工具类入口文件 │ ├── constant.js // 公用常量 │ ├── axios.js // 暴露axios插件 │ ├── cookie.js // 暴露js-cookie插件 │ ├── day.js // 暴露dayjs插件 │ ├── icon.js // 阿里图标库 │ └── index.js // 组件库入口文件 ├── public ├── src // 项目入口,将作为编写组件库时的测试地方 │ ├── assets // 静态资源 │ │ ├── icons // 阿里图标静态文件 │ │ ├── images │ │ └── styles │ ├── components │ ├── mixins │ ├── router │ ├── utils │ ├── views │ ├── api.js │ ├── App.vue │ ├── constant.js │ └── main.js ├── .env // 通用环境变量 ├── .env.lib // 打包组件库的环境变量 ├── .eslintignore // 配置忽略eslint检验文件的地方 ├── .eslintrc ├── .npmignore // 配置上传npm忽略的文件 ├── gulpfile.js // gulp,配置一些自动转换的地方 ├── package.json ├── vue.config.js └── vuese.config.js // vuese配置文件