Search results
211 packages found
Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
- array to tree
- list to tree
- unflatten
- array-helper
- array-manipulations
- data-structures
- datastructures
- algorithms
- tree-structure
- array
- list
- collection
- pointer
- parent
- View more
Converts an array of items with ids and parent ids to a nested tree in a performant `O(n)` way. Runs in browsers and node.
- array to tree
- list to tree
- unflatten
- array-helper
- array-manipulations
- data-structures
- datastructures
- algorithms
- tree-structure
- array
- list
- collection
- pointer
- parent
- View more
Recursively flatten an array or arrays.
Core types for qb1
Pattern matching library
- array
- condition
- match
- matching
- object
- pattern
- pattern-matching
- predicate
- string
- regex
- regular expression
- nested
- deep
- recursive
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Safely get deep nested properties using dot notation
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format
Convert a plain array of nodes (with pointers to parent nodes) to a tree
Resolver that finds properties from [deeply] nested objects/arrays given a path or pattern. It also collects properties from multiple branches, without throwing Type Errors.
- resolve
- property resolve
- resolve path
- resolve nested
- accessor
- property accessor
- optional property
- wildcard resolve
- collector
- property collector
- tree traversal
- object traversal
- nested
- deep nested
- View more
Turns an array of arrays of data into a nested tree of plain objects
Flexible and powerful JSON pattern validation library with support for complex, nested structures, array validation, and a wide range of validation patterns. Includes logical operators and strict/nullable types.
Sort array of arrays by column, rippling the sorting outwards from that column
Merge and flatten any arrays found in all values within plain objects
Deep clone and map complex nested objects
Provides nested objects from tabular data.
Compare anything: AST, objects, arrays, strings and nested thereof
- array
- ast
- compare
- equal
- html
- nested
- object
- parse
- parsed
- parser
- plain
- posthtml
- posthtml-tree
- posthtmltree
- View more
Find out, is nested array/object/string/AST tree is empty
Ultra tiny library to group array of objects based on multiple properties