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:
- Measure the time a promise takes to resolve☆72Updated 2 years ago
- Check if it's the first time the process is run☆83Updated 4 months ago
- Ensure a function is only called once☆165Updated last week
- Find multiple RegExp matches in a string☆91Updated 3 years ago
- Reliably get the terminal window size☆146Updated last week
- Run the Node.js binary no matter what☆142Updated 4 months ago
- Parse text columns, like the output of unix commands☆84Updated 5 months ago
- Hook and modify stdout and stderr☆57Updated 5 months ago
- Lazy number range generator☆83Updated 2 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆107Updated 3 years ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Copy a file☆123Updated 5 months ago
- Convenience wrapper for Got to interact with the GitHub API☆177Updated 3 months ago
- Truncate a string to a specific width in the terminal☆88Updated 3 months ago
- Simplified high resolution timing☆85Updated last year
- Get free disk space info from `df -kP`☆64Updated 4 months ago
- Add stdin support to any CLI app that accepts file input☆127Updated 4 years ago
- Indent each line in a string☆115Updated 3 years ago
- Get namespaced config from the closest package.json☆121Updated 2 years ago
- Create an array without duplicates☆74Updated 4 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Check if a path is a file, directory, or symlink☆80Updated last week
- Get the first path that exists on disk of multiple paths☆62Updated 4 months ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Updated last year
- Rename a function☆46Updated 2 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆72Updated 4 years ago
- Easy error subclassing and stack customization☆66Updated 4 months ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Updated 4 years ago
- Get the command history of the user's shell☆86Updated 3 months ago
- Run promise-returning & async functions a specific number of times concurrently☆41Updated 4 years ago