【文件属性】:
文件名称:entriestree.js:在JavaScript中处理对象的递归数组
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-07 21:57:42
object array recursion manipulation JavaScript
EntriesTree.js
该库旨在与Javascript中的数据递归数组一起使用。
安装
:up_arrow: :right_arrow:
该软件包可在。
npm i entriestree
指导
:up_arrow: :right_arrow:
示例数据
这种数据看起来很熟悉? 这是下面使用的示例数据。 您可以在fixtures/readmeCollection.js找到此。
- {id: 1, ...}
- {id: 10, ...}
- {id: 11, ...}
- {id: 110, ...}
- {id: 111, ...}
- {id: 1110, ...}
- {id: 1111, ...}
- {id: 112, ...}
- {id: 12, ...}
- {id: 2, ...}
- {id: 20, ...}
- {id: 200, ...}
- {id: 21, ...}
-
【文件预览】:
entriestree.js-master
----.gitignore(38B)
----README.md(5KB)
----CHANGELOG.md(885B)
----fixtures()
--------readmeCollection.js(1KB)
--------defaultCollection.js(997B)
--------collectionWithCustomChildren.js(987B)
--------collectionWithCustomId.js(1KB)
----tests()
--------tests.js(7KB)
----package.json(574B)
----src()
--------EntriesTree.js(9KB)