-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
76 lines (66 loc) · 1.75 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//字符串工具类
const StringUtil = require('./core/string/StringUtil');
//对象操作工具类
const ObjectUtil = require('./core/object/ObjectUtil');
//数组工具类
const ArrayUtil = require('./core/array/ArrayUtil');
//分页工具类
const PageUtil = require('./core/page/PageUtil');
//随机工具类
const RandomUtil = require('./core/random/RandomUtil');
//手机号工具类
const PhoneUtil = require('./core/phone/PhoneUtil');
//推特雪花算法
const Snowflake = require('./core/util/Snowflake');
//uuid
const UUID = require('./core/util/UUID');
//日期工具类
const DateUtil = require('./core/date/DateUtil');
//随机权重工具类
const RandomWeightUtil = require('./core/random/RandomWeightUtil');
//buffer工具类
const BufferUtil = require('./core/buffer/BufferUtil');
//map工具类
const MapUtil = require('./core/map/MapUtil');
//网络工具类
const NetUtil = require('./core/net/NetUtil');
//ipv4 工具类
const IPV4Util = require('./core/net/Ipv4Util');
//os 工具类
const OsUtil = require('./core/os/OSUtil');
//md5 工具
const Md5Util = require('./core/crypto/Md5Util');
//字符格式化
const StringFormatUtil = require('./core/string/StringFormatUtil');
//正則
const ReUtil = require('./core/reg/ReUtil');
//错误
const ErrorUtil = require('./core/error/ErrorUtil');
//base64
const Base64 = require('./core/codec/Base64');
// no test
const RequestUtil = require('./core/request/RequestUtil');
//
module.exports ={
StringUtil,
ObjectUtil,
ArrayUtil,
PageUtil,
RandomUtil,
PhoneUtil,
Snowflake,
UUID,
DateUtil,
RandomWeightUtil,
BufferUtil,
MapUtil,
NetUtil,
IPV4Util,
OsUtil,
Md5Util,
StringFormatUtil,
ReUtil,
ErrorUtil,
RequestUtil,
Base64
}