a-js-tools 0.1.3 → 0.1.4
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 +3 -12
- package/package.json +4 -6
package/README.md
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
# a-js-tools
|
|
2
2
|
|
|
3
|
-
[&label=版本号&labelColor=rgb(73,73,228)&color=rgb(0,0,0)>)](https://www.npmjs.com/package/a-js-tools) [&label=最后推码&labelColor=rgb(255,165,0)&color=rgb(0,0,0)>)](https://github.com/earthnutDev/a-js-tools) [&color=rgb(0,0,0)>)](https://github.com/earthnutDev/a-js-tools) [&color=rgb(0,0,0)>)](https://coveralls.io/github/earthnutDev/a-js-tools?branch=main) [&color=rgb(0,0,0)>)](https://codecov.io/gh/earthnutDev/a-js-tools)
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
[>)](https://github.com/earthnutDev/a-js-tools/blob/main/CHANGELOG.md) [>)](https://github.com/earthnutDev/a-js-tools/issues)
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
3
|
+
[&label=版本号&labelColor=rgb(73,73,228)&color=rgb(0,0,0)>)](https://www.npmjs.com/package/a-js-tools) [&color=rgb(0,0,0)>)](https://coveralls.io/github/earthnutDev/a-js-tools?branch=main) [&color=rgb(0,0,0)>)](https://codecov.io/gh/earthnutDev/a-js-tools) [?logo=github>)](https://github.com/earthnutDev/a-js-tools/issues)
|
|
13
4
|
一个纯函数的工具
|
|
14
5
|
|
|
15
6
|
## 安装
|
|
@@ -27,8 +18,8 @@ npm install a-js-tools --save
|
|
|
27
18
|
|
|
28
19
|
## class 名称转化
|
|
29
20
|
|
|
30
|
-
- `toLowerCamelCase`
|
|
31
|
-
- `toSplitCase`
|
|
21
|
+
- `toLowerCamelCase` 转化为小驼峰
|
|
22
|
+
- `toSplitCase` 转化为连接符分隔
|
|
32
23
|
|
|
33
24
|
## 查看文档
|
|
34
25
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"name": "a-js-tools",
|
|
5
5
|
"main": "cjs/index.cjs",
|
|
6
6
|
"module": "mjs/index.mjs",
|
|
7
7
|
"typings": "types/index.d.ts",
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "一点点 🤏 js 函数",
|
|
9
9
|
"files": [
|
|
10
10
|
"mjs",
|
|
11
11
|
"cjs",
|
|
12
|
-
"types"
|
|
13
|
-
"CHANGELOG-en.md",
|
|
14
|
-
"CHANGELOG.md"
|
|
12
|
+
"types"
|
|
15
13
|
],
|
|
16
14
|
"exports": {
|
|
17
15
|
"import": "./mjs/index.mjs",
|
|
@@ -41,6 +39,6 @@
|
|
|
41
39
|
"registry": "https://registry.npmjs.org/"
|
|
42
40
|
},
|
|
43
41
|
"dependencies": {
|
|
44
|
-
"a-type-of-js": ">=0.
|
|
42
|
+
"a-type-of-js": ">=0.2.0 <1.0.0"
|
|
45
43
|
}
|
|
46
44
|
}
|