sindresorhus / sudo-blockLinks
Block users from running your app with root permissions
☆98Updated 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☆144Updated last year
- Check if it's the first time the process is run☆78Updated 3 years ago
- Find multiple RegExp matches in a string☆90Updated 3 years ago
- Measure the time a promise takes to resolve☆70Updated last year
- Returns an array filled with the specified input☆42Updated 3 years ago
- Convenience wrapper for Got to interact with the GitHub API☆176Updated 2 years ago
- Lazy number range generator☆81Updated last year
- Truncate a string to a specific width in the terminal☆87Updated last week
- Indent each line in a string☆113Updated 3 years ago
- Hook and modify stdout and stderr☆54Updated 3 years ago
- Run the Node.js binary no matter what☆138Updated 4 years ago
- Ensure a function is only called once☆162Updated last year
- Convert the result of `process.hrtime()` to seconds, milliseconds, nanoseconds☆53Updated 3 years ago
- Check if the process is running with elevated privileges☆41Updated 4 years ago
- Easy error subclassing and stack customization☆65Updated 5 years ago
- Get namespaced config from the closest package.json☆120Updated last year
- Add stdin support to any CLI app that accepts file input☆124Updated 4 years ago
- Get free disk space info from `df -kP`☆63Updated 3 years ago
- Make unhandled promise rejections fail hard right away instead of the default silent fail☆106Updated 3 years ago
- Copy a file☆121Updated 3 weeks ago
- Reverse minimist. Convert an object of options into an array of command-line arguments☆184Updated 2 years ago
- Get the callsite of the caller function☆52Updated 3 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 4 years ago
- Parse text columns, like the output of unix commands☆82Updated 3 years ago
- Get an unused filename by appending a number if it exists: `file.txt` → `file (1).txt`☆141Updated 3 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Brace expansion, as known from sh/bash, in JavaScript☆195Updated 2 months ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Exit the process when the `esc` key is pressed☆56Updated last year
- Toggle the CLI cursor☆111Updated last year