tree-lodash icon indicating copy to clipboard operation
tree-lodash copied to clipboard

轻量的“树操作”函数库 (Lightweight "tree operations" library)

tree-lodash

Easily control the tree structure as you would with lodash.js

像使用 lodash.js 一样方便地操控树结构

充分的单元测试:

Install & Usage(安装&使用)

👉安装&使用文档(Install Document)

Features (特性)

👉特性(Features) & 配置(Configs)

Functions (方法列表)

  • foreach: 👉foreach 文档
  • map: 👉map 文档
  • filter: 👉filter 文档
  • find: 👉find 文档
  • some: 👉some 文档
  • toArray: 👉toArray 文档
  • fromArray: 👉fromArray 文档

感谢 (Thanks)

Thanks to joaonuno/tree-model-js, It's a Nice lib, and help me at work;