find-up
Find a file or directory by walking up parent directories
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Read the closest package.json file
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the closest package.json file
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Find a file by walking up parent directories
Walk up the tree to resolve `tsconfig.json` configuration objects.
Find the root directory of a `git` repository
Faster drop-in replacement for find-up and findup-sync.
Find files by patterns in directories, upwards or downwards from other paths.
Find a file or directory by walking up parent directories recursively. Zero dependency.
Find the root directory of an npm package
Read the closest package.json file
Find all instances of a file or folder in parent directories
resolve package root and package.json paths , work on node 17 too
Find a file by walking up parent directories (barebones implementation, no dependencies)
Resolve your packages configuration from a .*rc or package.json with a given property up the file-tree.
Find top most root directory of a Node.js project or npm package.
Find a file by walking up parent directories