expo

expo/sudo-prompt

Run a command using sudo, prompting the user with an OS dialog if necessary.

JavaScript
9
0
MIT License

`sudo-prompt` is a cross-platform Node.js library that allows running terminal commands with elevated privileges using `sudo`, prompting the user with a native OS dialog when necessary. It's designed for background Node.js applications or native apps that need `sudo` access without requiring native bindings. The library supports macOS, Linux, and Windows, making it ideal for developers building secure, cross-platform tools that require administrative permissions.

Total donated
Undistributed
Share with your subscribers: