find-up
Find a file or directory by walking up parent directories
Find a file or directory by walking up parent directories
Make a directory and its parents if needed - Think `mkdir -p`
Find the root directory of a Node.js project or npm package
Extract the non-magic parent path from a glob string.
Read the closest package.json file
Get the path of the parent module
A tiny (183B to 210B) and fast utility to ascend parent directories
compute the closest common parent for file paths
Get the path of the caller function
Get the callsite of the caller function
Find the closest package.json file
unist utility to recursively walk over nodes, with ancestral information
Returns an object with the (non-glob) base path and the actual pattern.
Finds the first parent directory that contains a given file or directory.
return all the parent directories for a directory
Find package.json files in parent directories, keep finding until you find the right one using iterators.
Returns an array containing the initial elements which both input arrays have in common
Returns the parent directory common to each path
Returns the chain of JavaScript files used to require a given Node module - i.e. its ancestors
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.