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:
- Convert a value to an array☆133Updated 4 years ago
- Check if something is a promise☆46Updated 4 years ago
- Get the set npm registry URL☆57Updated 8 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Create a Vinyl file from an actual file☆43Updated 3 years ago
- ☆45Updated 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 value is a plain object☆103Updated last year
- Create a MD5 hash with hex encoding☆47Updated 2 years ago
- Let a globally installed package use a locally installed version of itself if available☆155Updated last year
- Check if a path is a file, directory, or symlink☆80Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆57Updated last year
- Check if a path exists☆155Updated 3 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last month
- Check if the process is running with elevated privileges☆43Updated 4 years ago
- Get an array of parent directories including itself☆26Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆79Updated 3 years ago
- List of node.js builtin modules☆37Updated last month
- Resolve the path of a module like `require.resolve()` but from the current working directory☆70Updated 4 years ago
- Import a module like with `require()` but from a given path☆85Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆40Updated last year
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆96Updated 3 years ago
- Break out of a promise chain☆24Updated 4 years ago
- Get the path of the caller module☆67Updated 4 years ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆52Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Check if a string matches the name of a Node.js builtin module☆62Updated 10 months ago
- Create an array without duplicates☆74Updated 4 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago