sindresorhus / sudo-blockLinks
Block users from running your app with root permissions
☆99Updated 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:
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Check if it's the first time the process is run☆81Updated 2 months ago
- Measure the time a promise takes to resolve☆71Updated 2 years ago
- Reliably get the terminal window size☆144Updated 2 years ago
- Wait for any promise to be fulfilled☆56Updated 3 years ago
- Ensure a function is only called once☆163Updated 2 years ago
- Truncate a string to a specific width in the terminal☆87Updated 2 weeks ago
- Returns an array filled with the specified input☆43Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆60Updated last month
- Add stdin support to any CLI app that accepts file input☆124Updated 4 years ago
- Indent each line in a string☆113Updated 3 years ago
- Run the Node.js binary no matter what☆139Updated last month
- Lazy number range generator☆82Updated last year
- Simplified high resolution timing☆84Updated last year
- Copy a file☆121Updated 2 months ago
- Parse text columns, like the output of unix commands☆83Updated 2 months ago
- Get namespaced config from the closest package.json☆120Updated 2 years ago
- Hook and modify stdout and stderr☆56Updated 2 months ago
- Get free disk space info from `df -kP`☆63Updated last month
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Check if a path is a file, directory, or symlink☆79Updated last year
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆57Updated last year
- Returns a promise resolved in the next event loop - think `setImmediate()`☆71Updated 4 years 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☆85Updated last week
- Create an array without duplicates☆73Updated 4 years ago
- Extract the actual stack of an error☆67Updated 3 years ago
- Get the directory of globally installed packages and binaries☆76Updated 2 years ago