Block users from running your app with root permissions
☆98Aug 31, 2023Updated 2 years ago
Alternatives and similar repositories for sudo-block
Users that are interested in sudo-block are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Check if the process is running with elevated privileges☆44Aug 11, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 5 years ago
- Check if it's the first time the process is run☆83Sep 12, 2025Updated 10 months ago
- Toggle the CLI cursor☆114Jul 26, 2024Updated last year
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Check if the process is running as root user, for example, one started with `sudo`☆79Jul 8, 2022Updated 4 years ago
- Reliably get the terminal window size☆148Feb 2, 2026Updated 5 months ago
- Check if a string is a valid filename☆60Aug 16, 2021Updated 4 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Apr 3, 2024Updated 2 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 4 years ago
- Simple cache config handling for your app or module☆21Sep 14, 2017Updated 8 years ago
- Get the version numbers of a package from the npm registry☆31Feb 26, 2024Updated 2 years ago
- Copy a file☆123Aug 13, 2025Updated 11 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 4 years ago
- ☆32May 11, 2019Updated 7 years ago
- Modify the values of an object☆28Sep 10, 2021Updated 4 years ago
- Ensure a function is only called once☆167Feb 2, 2026Updated 5 months ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆40Jan 24, 2026Updated 6 months ago
- Get free disk space info from `df -kP`☆65Sep 13, 2025Updated 10 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Get the diff type of two semver versions: 0.0.1 0.0.2 → patch☆69Sep 15, 2025Updated 10 months ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 5 years ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Copy files☆439May 5, 2026Updated 2 months ago
- Get the version of a binary in semver format☆43Apr 3, 2024Updated 2 years ago
- Unicode symbols with fallbacks for older terminals☆631Oct 28, 2024Updated last year
- Add stdin support to any CLI app that accepts file input☆127Aug 17, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated 2 years ago
- Check if the process is running as administrator on Windows☆39Aug 11, 2021Updated 4 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Colored symbols for various log levels☆769May 21, 2025Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- Get stdin as a string or buffer☆350Feb 5, 2026Updated 5 months ago
- Try to downgrade the permissions of a process with root privileges☆17Aug 31, 2023Updated 2 years ago
- Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev☆149Sep 9, 2025Updated 10 months ago
- Check if a value is a regular expression☆26Oct 31, 2021Updated 4 years ago
- Get the callsite of the caller function☆54Sep 21, 2025Updated 10 months ago
- Sort an array of numbers☆18Sep 18, 2025Updated 10 months ago
- Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.☆1,164Apr 5, 2026Updated 3 months ago