Search results
243 packages found
Find a file or directory by walking up parent directories
Extract the non-magic parent path from a glob string.
Make a directory and its parents if needed - Think `mkdir -p`
- mkdir
- mkdirp
- make
- directories
- folders
- directory
- folder
- path
- parent
- parents
- intermediate
- recursively
- recursive
- create
- View more
compute the closest common parent for file paths
Read the closest package.json file
return all the parent directories for a directory
unist utility to recursively walk over nodes, with ancestral information
Find package.json files in parent directories, keep finding until you find the right one using iterators.
Find the root directory of a Node.js project or npm package
Find the closest package.json file
Get the path of the caller function
Get the path of the parent module
Get the callsite of the caller function
Find, read and parse the package.json of the parent module
A tiny (183B to 210B) and fast utility to ascend parent directories
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
Finds the first parent directory that contains a given file or directory.
AVLTree(Adelson-Velsky and Landis Tree). Javascript & Typescript Data Structure.
- avl
- AVL
- tree
- Tree
- avl tree
- avl-tree
- avltree
- AVL Tree
- avl tree data structure
- self-balancing
- selfbalancing
- selfbalance
- self balance
- self
- View more
Convert a plain array of nodes (with pointers to parent nodes) to a tree
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