387 packages found
find the closest package.json
compute the closest common parent for file paths
Find the root directory of a Node.js project or npm package
Determine an app's root path from anywhere inside the app
Finds the first parent directory that contains a given file or directory.
A micro-library for collecting stylesheet data from link and style nodes
- custom properties
- custom property
- View more
Regular expression for getting the root of a posix or windows filepath.
Requiring or import modules/folders/files based on your root directory
Compute the principal square root of a double-precision floating-point number.
Simple module to infer the root directory of the currently running node application
Computes the longest prefix string that is common to each path, excluding the base component
Enables to find the root package in the package hierarchy, and retrieve information about it
Check if the process is running as root user, for example, one started with `sudo`
Returns the program/package name and version as a string with optional format customization.
Get the root of a posix or windows filepath.
Helps a module find its package.json mothership.
Try to downgrade the permissions of a process with root privileges and block access if it fails
Square root of 2π.