sindresorhus / sudo-blockLinks
Block users from running your app with root permissions
☆100Updated 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
Sorting:
- Reliably get the terminal window size☆145Updated 2 years ago
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Lazy number range generator☆82Updated last year
- Hook and modify stdout and stderr☆56Updated 3 months ago
- Ensure a function is only called once☆164Updated 2 years ago
- Check if it's the first time the process is run☆82Updated 3 months ago
- Measure the time a promise takes to resolve☆72Updated 2 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Add stdin support to any CLI app that accepts file input☆126Updated 4 years ago
- Parse text columns, like the output of unix commands☆84Updated 3 months ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆187Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Convenience wrapper for Got to interact with the GitHub API☆177Updated last month
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get free disk space info from `df -kP`☆64Updated 3 months ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Simplified high resolution timing☆84Updated last year
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Updated 3 years ago
- Truncate a string to a specific width in the terminal☆88Updated 2 months ago
- Run the Node.js binary no matter what☆142Updated 3 months ago
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Copy a file☆122Updated 4 months ago
- Indent each line in a string☆114Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last year
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆67Updated 9 months ago
- Get the callsite of the caller function☆54Updated 3 months ago
- Get the command history of the user's shell☆86Updated last month
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Get the first path that exists on disk of multiple paths☆62Updated 3 months ago
- Check if the process is running with elevated privileges☆43Updated 4 years ago