@codady/utils 0.0.7 → 0.0.8
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/modules.js +22 -0
- package/modules.ts +29 -0
- package/package.json +5 -3
package/modules.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Last modified: 2025/12/19 10:03:23
|
|
3
|
+
*/
|
|
4
|
+
'use strict';
|
|
5
|
+
import deepClone from './src/deepClone';
|
|
6
|
+
import deepCloneToJSON from './src/deepCloneToJSON';
|
|
7
|
+
import getDataType from './src/getDataType';
|
|
8
|
+
import wrapArrayMethods from './src/wrapArrayMethods';
|
|
9
|
+
import mutableMethods from './src/mutableMethods';
|
|
10
|
+
import requireTypes from './src/requireTypes';
|
|
11
|
+
const utils = {
|
|
12
|
+
//executeStr,
|
|
13
|
+
getDataType,
|
|
14
|
+
requireTypes,
|
|
15
|
+
//renderTpl,
|
|
16
|
+
//parseStr,
|
|
17
|
+
deepClone,
|
|
18
|
+
deepCloneToJSON,
|
|
19
|
+
wrapArrayMethods,
|
|
20
|
+
mutableMethods
|
|
21
|
+
};
|
|
22
|
+
export default utils;
|
package/modules.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Last modified: 2025/12/19 10:03:23
|
|
3
|
+
*/
|
|
4
|
+
'use strict'
|
|
5
|
+
import deepClone from './src/deepClone';
|
|
6
|
+
import deepCloneToJSON from './src/deepCloneToJSON';
|
|
7
|
+
import executeStr from './src/executeStr';
|
|
8
|
+
import getDataType from './src/getDataType';
|
|
9
|
+
import wrapArrayMethods from './src/wrapArrayMethods';
|
|
10
|
+
import mutableMethods from './src/mutableMethods';
|
|
11
|
+
import parseStr from './src/parseStr';
|
|
12
|
+
import renderTpl from './src/renderTpl';
|
|
13
|
+
import requireTypes from './src/requireTypes';
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
const utils = {
|
|
18
|
+
//executeStr,
|
|
19
|
+
getDataType,
|
|
20
|
+
requireTypes,
|
|
21
|
+
//renderTpl,
|
|
22
|
+
//parseStr,
|
|
23
|
+
deepClone,
|
|
24
|
+
deepCloneToJSON,
|
|
25
|
+
wrapArrayMethods,
|
|
26
|
+
mutableMethods
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
export default utils;
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codady/utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"author": "AXUI Development Team",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "This is a set of general-purpose JavaScript utility functions developed by the AXUI team. All functions are pure and do not involve CSS or other third-party libraries. They are suitable for any web front-end environment.",
|
|
7
7
|
"main": "./modules.js",
|
|
8
8
|
"type": "module",
|
|
9
|
-
"types": "./
|
|
9
|
+
"types": "./modules.ts",
|
|
10
10
|
"directories": {
|
|
11
11
|
"doc": "docs"
|
|
12
12
|
},
|
|
@@ -18,6 +18,8 @@
|
|
|
18
18
|
"dist",
|
|
19
19
|
"src",
|
|
20
20
|
"dist.zip",
|
|
21
|
+
"modules.ts",
|
|
22
|
+
"modules.js",
|
|
21
23
|
"package.json",
|
|
22
24
|
"rollup.config.js",
|
|
23
25
|
"tsconfig.json",
|
|
@@ -70,4 +72,4 @@
|
|
|
70
72
|
"dependencies": {
|
|
71
73
|
"simple-git": "^3.27.0"
|
|
72
74
|
}
|
|
73
|
-
}
|
|
75
|
+
}
|