tree-processor 0.11.0 → 0.11.1
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.en.md +6 -5
- package/README.md +6 -5
- package/dist/stats.html +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
<div align="center">
|
|
10
10
|
|
|
11
11
|

|
|
12
|
-
](https://img.shields.io/badge/downloads-1.8K%2F2mo-brightgreen?style=flat-square)
|
|
13
13
|

|
|
14
|
+

|
|
14
15
|

|
|
15
|
-

|
|
16
17
|
|
|
17
18
|
A lightweight tree-structured data processing utility library written in TypeScript, providing 50+ APIs including traversal, search, modification, conversion, query, analysis, and validation.
|
|
18
19
|
|
|
@@ -34,7 +35,7 @@ A lightweight tree-structured data processing utility library written in TypeScr
|
|
|
34
35
|
- [Clone and Copy Methods](#clone-and-copy-methods)
|
|
35
36
|
- [Relationship Query Methods](#relationship-query-methods)
|
|
36
37
|
- [Data Validation Methods](#data-validation-methods)
|
|
37
|
-
- [
|
|
38
|
+
- [Statistical Analysis Methods](#statistical-analysis-methods)
|
|
38
39
|
- [Custom Field Names](#custom-field-names)
|
|
39
40
|
- [Testing](#testing)
|
|
40
41
|
- [Development](#development)
|
|
@@ -1542,9 +1543,9 @@ console.log(t.isSafeTreeDepth(customTree, 2, fieldNames)) // false
|
|
|
1542
1543
|
|
|
1543
1544
|
---
|
|
1544
1545
|
|
|
1545
|
-
##
|
|
1546
|
+
## Statistical Analysis Methods
|
|
1546
1547
|
|
|
1547
|
-
Methods for
|
|
1548
|
+
Methods for statistical analysis of tree-structured data.
|
|
1548
1549
|
|
|
1549
1550
|
### reduceTree
|
|
1550
1551
|
|
package/README.md
CHANGED
|
@@ -9,10 +9,11 @@
|
|
|
9
9
|
<div align="center">
|
|
10
10
|
|
|
11
11
|

|
|
12
|
-
](https://img.shields.io/badge/downloads-1.8K%2F2mo-brightgreen?style=flat-square)
|
|
13
13
|

|
|
14
|
+

|
|
14
15
|

|
|
15
|
-

|
|
16
17
|
|
|
17
18
|
一个轻量级的树结构数据处理工具库,使用 TypeScript 编写,提供50+ API,包括遍历、查找、修改、转换、查询、分析、验证等完整功能。
|
|
18
19
|
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
- [克隆复制方法](#克隆复制方法)
|
|
35
36
|
- [关系查询方法](#关系查询方法)
|
|
36
37
|
- [数据验证方法](#数据验证方法)
|
|
37
|
-
- [
|
|
38
|
+
- [统计分析方法](#统计分析方法)
|
|
38
39
|
- [自定义字段名](#自定义字段名)
|
|
39
40
|
- [测试](#测试)
|
|
40
41
|
- [开发](#开发)
|
|
@@ -1542,9 +1543,9 @@ console.log(t.isSafeTreeDepth(customTree, 2, fieldNames)) // false
|
|
|
1542
1543
|
|
|
1543
1544
|
---
|
|
1544
1545
|
|
|
1545
|
-
##
|
|
1546
|
+
## 统计分析方法
|
|
1546
1547
|
|
|
1547
|
-
|
|
1548
|
+
对树结构数据进行统计和分析的方法。
|
|
1548
1549
|
|
|
1549
1550
|
### reduceTree
|
|
1550
1551
|
|
package/dist/stats.html
CHANGED
|
@@ -4929,7 +4929,7 @@ var drawChart = (function (exports) {
|
|
|
4929
4929
|
</script>
|
|
4930
4930
|
<script>
|
|
4931
4931
|
/*<!--*/
|
|
4932
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tree-processor.
|
|
4932
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"tree-processor.esm.js","children":[{"name":"src/index.ts","uid":"956e6e15-1"}]}],"isRoot":true},"nodeParts":{"956e6e15-1":{"renderedLength":43265,"gzipLength":5705,"brotliLength":5045,"metaUid":"956e6e15-0"}},"nodeMetas":{"956e6e15-0":{"id":"/src/index.ts","moduleParts":{"tree-processor.esm.js":"956e6e15-1"},"imported":[],"importedBy":[],"isEntry":true}},"env":{"rollup":"4.57.1"},"options":{"gzip":true,"brotli":true,"sourcemap":false}};
|
|
4933
4933
|
|
|
4934
4934
|
const run = () => {
|
|
4935
4935
|
const width = window.innerWidth;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tree-processor",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "Lightweight tree-structured data processing library with 50+ APIs (traversal, search, modification, conversion, query, analysis, validation). Supports ESM/CJS/UMD, tree-shaking, zero dependencies",
|
|
5
5
|
"main": "dist/tree-processor.cjs.js",
|
|
6
6
|
"module": "dist/tree-processor.esm.js",
|