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 5 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 11 months ago
- Toggle the CLI cursor☆114Jul 26, 2024Updated 2 years ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- 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 6 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☆123Jul 25, 2026Updated 2 weeks ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 5 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☆166Feb 2, 2026Updated 6 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`☆64Sep 13, 2025Updated 11 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated 2 years ago
- 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
- Open source password manager - Proton Pass • AdSecurely store, share, and autofill your credentials with Proton Pass, the end-to-end encrypted password manager trusted by millions.
- Copy files☆439Jul 23, 2026Updated 3 weeks ago
- Get the version of a binary in semver format☆43Apr 3, 2024Updated 2 years ago
- Unicode symbols with fallbacks for older terminals☆632Oct 28, 2024Updated last year
- Add stdin support to any CLI app that accepts file input☆128Aug 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 5 years ago
- Get a random key from an object☆18Jul 2, 2024Updated 2 years ago
- Colored symbols for various log levels☆770May 21, 2025Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated 2 years ago
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Get stdin as a string or buffer☆350Feb 5, 2026Updated 6 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 11 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,166Apr 5, 2026Updated 4 months ago