# hx-utils **Repository Path**: haixu126/hx-utils ## Basic Information - **Project Name**: hx-utils - **Description**: hx 的前端工具库 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-06-25 - **Last Updated**: 2023-06-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # hx-utils #### 介绍 hx 的前端工具库 #### 软件架构 软件架构说明 #### 安装教程 ### Install: ```bash $ npm i --save haixu-utils ``` or ``` $ yarn add haixu-utils ``` #### 使用说明 ```javascript // 全部引入 import * as util from 'haixu-utils' // 局部引入 import { getPassedTime } from "haixu-utils"; ``` ### Keywords `utils` #### npm封装 1. npm config set registry https://registry.npmjs.org 2. npm login 3. 输入用户名、密码、邮件验证码 4. 如果报错403 需要检查是否npm包名字已存在 5. 如访问https://registry.npmjs.org/haixu-utils 6. 出现 "not found" 即为不重复,可以发布 7. npm publish #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)