Search results
441 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Find the root directory of a Node.js project or npm package
compute the closest common parent for file paths
find the closest package.json
Computes the longest prefix string that is common to each path, excluding the base component
Get the root of a posix or windows filepath.
Check if the process is running as root user, for example, one started with `sudo`
Get the directory of globally installed packages and binaries
Regular expression for getting the root of a posix or windows filepath.
Determine an app's root path from anywhere inside the app
Returns an object with the (non-glob) base path and the actual pattern.
Simple module to infer the root directory of the currently running node application
Finds the first parent directory that contains a given file or directory.
Try to downgrade the permissions of a process with root privileges
Block users from running your app with root permissions
Try to downgrade the permissions of a process with root privileges and block access if it fails
recursively find the closest .git/
A micro-library for collecting stylesheet data from link and style nodes
- ajax
- component
- css
- cssom
- csstext
- custom properties
- custom property
- custom
- dom
- es6
- iframe
- import
- javascript
- js
- View more
resolve package root and package.json paths , work on node 17 too
Compute the principal square root of a double-precision floating-point number.
Square root of double-precision floating-point epsilon.
- stdlib
- stdmath
- constant
- const
- mathematics
- math
- double
- dbl
- floating-point
- float
- float64
- 64bit
- 64-bit
- ieee754
- View more