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.
Regular expression for getting the root of a posix or windows filepath.
Get the directory of globally installed packages and binaries
Check if the process is running as root user, for example, one started with `sudo`
Determine an app's root path from anywhere inside the app
Simple module to infer the root directory of the currently running node application
Returns an object with the (non-glob) base path and the actual pattern.
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
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
Compute the principal square root of a double-precision floating-point number.
A collection of helpers that aim to simplify using reactive primitives outside of reactive roots, and managing disposal of reactive roots.