sindresorhus / sudo-blockLinks
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
Sorting:
- Find multiple RegExp matches in a string☆92Updated 2 years ago
- Reliably get the terminal window size☆141Updated last year
- Returns an array filled with the specified input☆42Updated 2 years ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 2 years ago
- Check if it's the first time the process is run☆78Updated 3 years ago
- Get free disk space info from `df -kP`☆63Updated 2 years ago
- Ensure a function is only called once☆162Updated last year
- Measure the time a promise takes to resolve☆70Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Simplified high resolution timing☆81Updated 9 months ago
- Truncate a string to a specific width in the terminal☆87Updated last year
- Lazy number range generator☆81Updated last year
- Wait for any promise to be fulfilled☆54Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Hook and modify stdout and stderr☆54Updated 2 years ago
- Check if the process is running with elevated privileges☆41Updated 3 years ago
- Returns a promise resolved in the next event loop - think `setImmediate()`☆70Updated 4 years ago
- Toggle the CLI cursor☆108Updated 10 months ago
- Get the command history of the user's shell☆85Updated 2 years ago
- Ensures a value is a valid error by making it one if not☆77Updated 3 years ago
- Indent each line in a string☆113Updated 3 years ago
- Reliable way to to get the height and width of the terminal/console in a node.js environment.☆84Updated 10 months ago
- Check if the process is running as root user, for example, one started with `sudo`☆78Updated 2 years ago
- Get namespaced config from the closest package.json☆121Updated last year
- Columnated lists for the CLI. Unicode and ANSI safe.☆36Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Add stdin support to any CLI app that accepts file input☆124Updated 3 years ago
- Rename a function☆46Updated last year