hsu-utils 0.0.4 → 0.0.5
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 +24 -1
- package/dist/hsu-utils.js +1 -1
- package/dist/hsu-utils.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1,24 @@
|
|
|
1
|
-
#
|
|
1
|
+
# [Hsu Utils](https://github.com/VitaTsui/hsu-utils#hsu-utils)
|
|
2
|
+
|
|
3
|
+
## 前言
|
|
4
|
+
|
|
5
|
+
`hsu-utils` 一些前端的工具集
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
npm install --save hsu-utils
|
|
11
|
+
# 或
|
|
12
|
+
yarn add hsu-utils
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## 功能
|
|
16
|
+
|
|
17
|
+
- `console_table` 在控制台打印像 MySql 一样的表格
|
|
18
|
+
- `deepCopy` 深拷贝
|
|
19
|
+
- `Equal`
|
|
20
|
+
|
|
21
|
+
> `ValEqual` 判断值相等,`TypeEqual` 判断类型相同,`ObjEqual` 判断对象相等
|
|
22
|
+
|
|
23
|
+
- `Typeof` 获取类型
|
|
24
|
+
> `number`、`string`、`boolean`、`object`、`array`、`null`、`undefined`、`unknown`、`function`、`symbol`、`date`、`formdata`
|
package/dist/hsu-utils.js
CHANGED