Find a file or directory by walking up parent directories
Read the closest package.json file
Find the root directory of a Node.js project or npm package
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Find the closest package.json file
Find all instances of a file or folder in parent directories
Find a file by walking up parent directories
Find files by patterns in directories, upwards or downwards from other paths.
Loads package.json, by finding the first directory with a package.json, recursing up, starting with the given directory.
Find up and read `tsconfig.json` file
Find the root directory of an appcelerator titanium project
Find top most root directory of a Node.js project or npm package.
glob search from current cwd up to root or stopPath
Find the root directory of a `git` repository
Find the closest `.git` directory
Resolve your packages configuration from a .*rc or package.json with a given property up the file-tree.
powered by npms.io 🚀