sindresorhus / sudo-block
Block users from running your app with root permissions
☆98Updated last year
Alternatives and similar repositories for sudo-block:
Users that are interested in sudo-block are comparing it to the libraries listed below
- Reliably get the terminal window size☆140Updated last year
- Copy a file☆121Updated last year
- Easy error subclassing and stack customization☆66Updated 4 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Simplified high resolution timing☆79Updated 5 months ago
- Lazy number range generator☆81Updated last year
- Returns an array filled with the specified input☆42Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Toggle the CLI cursor☆106Updated 6 months ago
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Check if the process is running with elevated privileges☆40Updated 3 years ago
- Wait for any promise to be fulfilled☆55Updated 2 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Get free disk space info from `df -kP`☆63Updated 2 years ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆185Updated last year
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Truncate a string to a specific width in the terminal☆86Updated last year
- Indent each line in a string☆114Updated 2 years ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Check if a path is a file, directory, or symlink☆78Updated 6 months ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Get the command history of the user's shell☆84Updated 2 years ago
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 2 years ago
- Add stdin support to any CLI app that accepts file input☆124Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago