sindresorhus / is-adminLinks
Check if the process is running as administrator on Windows
☆37Updated 4 years ago
Alternatives and similar repositories for is-admin
Users that are interested in is-admin are comparing it to the libraries listed below
Sorting:
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Check if a process is running☆58Updated 3 years ago
- Wrapper for the Windows `tasklist` command. Returns a list of apps and services with their Process ID (PID) for all tasks running on eith…☆68Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆38Updated last year
- Recursively create nested directories with jsftp, like mkdirp☆21Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Create an array without duplicates☆72Updated 4 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Simple wildcard matching☆34Updated 3 years ago
- Log the value/error of a promise☆26Updated 4 years ago
- Transform the first chunk in a stream☆26Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Detect the dominant newline character of a string☆55Updated last year
- Break out of a promise chain☆23Updated 4 years ago
- Check if argv has a specific flag☆93Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 4 years ago
- Get free disk space info from `df -kP`☆63Updated this week
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 3 years ago
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Minimal module to check if a file is executable.☆49Updated last year
- Pretty UTC datetime: `2014-01-09 0601`☆32Updated 3 years ago
- Get the callsite of the caller function☆52Updated 3 years ago