Find the root directory of a Node.js project or npm package
Determine an app's root path from anywhere inside the app
find the closest package.json
Get the directory of globally installed packages and binaries
compute the closest common parent for file paths
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
Computes the longest prefix string that is common to each path, excluding the base component
Traverses up the directory tree and returns the first module found
Simple module to infer the root directory of the currently running node application
Loads root and intermediate certificates from the CCADB and registers them in the global HTTPS module agent
recursively find the closest .git/
Require From project Root tool for Node.js.
A module for finding the root of a project by looking at the contents of package.json file up the file hierarchy.
Block users from running your app with root permissions
Provides IP addresses of the DNS root servers, also known as 'root hints'.
Regular expression for getting the root of a posix or windows filepath.
Enables read of windows root certificates using ffi, and patching of node to use them