Search results

243 packages found

Find a file or directory by walking up parent directories

published 6.3.0 2 years ago
M
Q
P

Extract the non-magic parent path from a glob string.

published 6.0.2 2 years ago
M
Q
P

Make a directory and its parents if needed - Think `mkdir -p`

published 4.0.0 3 months ago
M
Q
P

compute the closest common parent for file paths

published 1.0.1 9 years ago
M
Q
P

Read the closest package.json file

published 10.1.0 a month ago
M
Q
P

return all the parent directories for a directory

published 1.0.1 9 years ago
M
Q
P

unist utility to recursively walk over nodes, with ancestral information

published 6.0.1 3 months ago
M
Q
P

Find package.json files in parent directories, keep finding until you find the right one using iterators.

published 1.2.0 5 years ago
M
Q
P

Find the root directory of a Node.js project or npm package

published 7.0.0 a year ago
M
Q
P

Find the closest package.json file

published 4.0.0 2 years ago
M
Q
P

Get the path of the caller function

published 4.0.0 2 years ago
M
Q
P

Get the path of the parent module

published 3.1.0 17 days ago
M
Q
P

Get the callsite of the caller function

published 5.0.0 2 years ago
M
Q
P

Find, read and parse the package.json of the parent module

published 3.0.0 4 months ago
M
Q
P

A tiny (183B to 210B) and fast utility to ascend parent directories

published 3.1.1 3 years ago
M
Q
P

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.

published 1.11.0 2 years ago
M
Q
P

Finds the first parent directory that contains a given file or directory.

published 0.3.1 2 years ago
M
Q
P

AVLTree(Adelson-Velsky and Landis Tree). Javascript & Typescript Data Structure.

published 1.33.6 4 days ago
M
Q
P

Convert a plain array of nodes (with pointers to parent nodes) to a tree

published 3.3.2 4 years ago
M
Q
P

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.

published 0.0.3 3 months ago
M
Q
P