Search results
452 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
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.
Get the directory of globally installed packages and binaries
Check if the process is running as root user, for example, one started with `sudo`
Returns an object with the (non-glob) base path and the actual pattern.
Regular expression for getting the root of a posix or windows filepath.
Determine an app's root path from anywhere inside the app
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.
Block users from running your app with root permissions
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
recursively find the closest .git/
resolve package root and package.json paths , work on node 17 too
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
Get Windows System Root certificates
A performance conscious library for merkle root and tree calculations.
Misc tools for dealing with repositories of multiple version control systems (git, svn, etc)