Determine an app's root path from anywhere inside the app
Find the root directory of a Node.js project or npm package
find the closest package.json
compute the closest common parent for file paths
A performance conscious library for merkle root and tree calculations.
Require From project Root tool for Node.js.
Get the name of a project, from package.json, git config, or basename of the current working directory.
Get global npm prefix. Respects npmrc configs
Try to downgrade the permissions of a process with root privileges
Try to downgrade the permissions of a process with root privileges and block access if it fails
Babel plugin to transform project relative import paths to file relative import paths.
Enables to find the root package in the package hierarchy, and retrieve information about it
search up directories
return the closest parent or current directory that contains a package.json
Check if the process is running with elevated privileges
Import files from the current package by name
Proper hierarchy management for Node, Typescript and the Browser.
Find the root directory of a Node.js project from a given path
powered by npms.io 🚀