sindresorhus / is-rootLinks
Check if the process is running as root user, for example, one started with `sudo`
☆78Updated 3 years ago
Alternatives and similar repositories for is-root
Users that are interested in is-root are comparing it to the libraries listed below
Sorting:
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Returns an array with only the unique values from all given arrays using strict equality for comparisons.☆46Updated 3 years ago
- Check if a path is a file, directory, or symlink☆78Updated last year
- Repeat the given string n times. Fastest implementation for repeating a string (2x faster than the native method)☆50Updated 3 years ago
- Detect the dominant newline character of a string☆55Updated 2 years ago
- Get the directory of globally installed packages and binaries☆76Updated last year
- Copy a file☆121Updated last month
- Create a Vinyl file from an actual file☆41Updated 2 years ago
- Get the set npm registry URL☆56Updated 5 months ago
- Determine if an object is a Buffer☆90Updated 4 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated last month
- Object.keys shim☆45Updated 5 months ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 weeks ago
- Create an array without duplicates☆72Updated 4 years ago
- Create a MD5 hash with hex encoding☆45Updated last year
- Check if something is a Node.js stream☆112Updated 11 months ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 6 years ago
- Minimal module to check if a file is executable.☆49Updated last year
- destroy a stream if possible☆54Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆58Updated last year
- The cmd-shim used in npm☆77Updated last week
- Add callbacks to requests in flight to avoid async duplication☆74Updated last year
- List of node.js builtin modules☆37Updated last year
- Wait for any promise to be fulfilled☆54Updated 3 years ago
- Check if something is a promise☆46Updated 4 years ago
- Returns an array filled with the specified input☆42Updated 3 years ago
- Manipulate the HTTP Vary header☆61Updated last month
- Convert a value to an array☆130Updated 3 years ago
- Replaces a file extension with another one.☆46Updated 2 years ago