sindresorhus / root-checkLinks
Try to downgrade the permissions of a process with root privileges and block access if it fails
☆31Updated 2 years ago
Alternatives and similar repositories for root-check
Users that are interested in root-check are comparing it to the libraries listed below
Sorting:
- Get the set npm registry URL☆57Updated 9 months ago
- Convert a value to an array☆133Updated 4 years ago
- ☆45Updated 3 years ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if something is a promise☆45Updated 4 years ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 5 years ago
- Check if a value is a plain object☆104Updated last year
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Import a module like with `require()` but from a given path☆86Updated 3 years ago
- If you use globs, this will make your code faster. Returns `true` if the given string looks like a glob pattern or an extglob pattern. Th…☆95Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last week
- Gracefully restore the CLI cursor on exit☆41Updated last year
- Add callbacks to requests in flight to avoid async duplication☆75Updated last year
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Create a MD5 hash with hex encoding☆48Updated 2 years ago
- Expands symbolic links and prints the resolved absolute filepath☆27Updated last year
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 3 weeks ago
- Let a globally installed package use a locally installed version of itself if available☆155Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- List of node.js builtin modules☆37Updated 2 months ago
- Object.keys shim☆46Updated last month
- Environment agnostic nextTick polyfill☆75Updated 4 years ago
- Check whether a request can be retried based on the `error.code`☆82Updated 4 years ago
- Break out of a promise chain☆24Updated 4 years ago
- Get the auth token set for an npm registry☆34Updated 3 weeks ago
- A module which will endeavor to guess your terminal's level of color support.☆23Updated 7 years ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago