find the closest package.json
Find the root directory of a Node.js project or npm package
compute the closest common parent for file paths
Determine an app's root path from anywhere inside the app
Get the directory of globally installed packages and binaries
Check if the process is running as root user, for example, one started with `sudo`
Finds the first parent directory that contains a given file or directory.
A micro-library for collecting stylesheet data from link and style nodes
recursively find the closest .git/
Simple module to infer the root directory of the currently running node application
A root solver for functions using Brent's Method.
A toaster on the top of your React Native App
Computes the longest prefix string that is common to each path, excluding the base component
Require From project Root tool for Node.js.
Perform tasks relative to your package.json, such as requiring
Regular expression for getting the root of a posix or windows filepath.
Traverses up the directory tree and returns the first module found
Returns an object with the (non-glob) base path and the actual pattern.