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