sindresorhus / is-elevated
Check if the process is running with elevated privileges
☆41Updated 3 years ago
Alternatives and similar repositories for is-elevated:
Users that are interested in is-elevated are comparing it to the libraries listed below
- Check if the process is running as administrator on Windows☆37Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Get the set npm registry URL☆55Updated 2 weeks ago
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Get the directory of globally installed packages and binaries☆75Updated last year
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if a string matches the name of a Node.js builtin module☆59Updated 2 months ago
- Check if a path is a file, directory, or symlink☆78Updated 9 months ago
- Check if something is a promise☆46Updated 4 years ago
- Import a globally installed module☆58Updated last year
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Detect the dominant newline character of a string☆55Updated last year
- Get the path of the caller module☆64Updated 3 years ago
- Check if a process is running☆58Updated 3 years ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Offers convenient getters and setters for the fs.stat()'s `mode`☆50Updated 5 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Convert an absolute path to tilde path: /Users/sindresorhus/dev => ~/dev☆93Updated 2 years ago
- Rename a function☆46Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆49Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- List of node.js builtin modules☆38Updated last year
- A module which will endeavor to guess your terminal's level of color support.☆24Updated 6 years ago
- Run promise-returning & async functions repeatedly until you end it☆45Updated 3 years ago
- Check if something is a Node.js stream☆111Updated 6 months ago
- Do stuff with Node.js's native JavaScript modules☆31Updated 3 years ago
- Import a module like with `require()` but from a given path☆86Updated 2 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago