sindresorhus / root-check
Try to downgrade the permissions of a process with root privileges and block access if it fails
☆31Updated last year
Related projects ⓘ
Alternatives and complementary repositories for root-check
- Write a package.json file☆89Updated 3 months ago
- Resolve the path of a module like `require.resolve()` but from the current working directory☆68Updated 3 years ago
- List of node.js builtin modules☆38Updated 7 months ago
- Convert a value to an array☆131Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Check if something is a promise☆47Updated 3 years ago
- Break out of a promise chain☆22Updated 3 years ago
- Check if a file path is a text file☆16Updated 6 months ago
- Cross-browser element class manipulation☆52Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 2 years ago
- Get the set npm registry URL☆53Updated 2 years ago
- Let a globally installed package use a locally installed version of itself if available☆154Updated 4 months ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated 3 months ago
- Check if a value is a plain object☆102Updated 6 months ago
- Import a globally installed module☆57Updated 10 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated 4 months ago
- Check if a path is a file, directory, or symlink☆75Updated 3 months ago
- Get the file extension and MIME type from a file☆25Updated 7 years ago
- Get tags from a remote git repo. Using only JS. No git binary required.☆49Updated 2 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…☆91Updated last year
- The cmd-shim used in npm☆76Updated last month
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Get the path of the parent module☆77Updated last year
- Get the real path of the system temp directory☆82Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated last year
- Resolve the path of a globally installed module☆41Updated last year
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago