weihuo-util 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,42 @@
1
+ # weihuo-util
2
+
3
+ weihuo 通用工具函数库。
4
+
5
+ npm:https://www.npmjs.com/package/weihuo-util
6
+
7
+ ## 安装
8
+
9
+ ```bash
10
+ npm i weihuo-util
11
+ ```
12
+
13
+ ## 使用
14
+
15
+ ```js
16
+ import { num_expand, val_phone, timejs } from "weihuo-util";
17
+ ```
18
+
19
+ ```js
20
+ const { num_expand, val_phone } = require("weihuo-util");
21
+ ```
22
+
23
+ 业务项目请通过 npm 安装引用,不要用本地 path / link 联调。
24
+
25
+ ## 开发(仅本仓库)
26
+
27
+ ```bash
28
+ npm install
29
+ npm run build
30
+ npm run test
31
+ ```
32
+
33
+ 发布新版本:
34
+
35
+ ```bash
36
+ npm version patch # 或 minor / major
37
+ npm publish
38
+ ```
39
+
40
+ ## License
41
+
42
+ UNLICENSED — 保留所有权利。