Check if the process is running as root user, for example, one started with `sudo`
MIT License
Check if a path is inside another path
Check if a project is using Yarn
Check whether a website is up or down
Check if it's the first time the process is run
Check if your code is running as an npm or yarn script
Try to downgrade the permissions of a process with root privileges and block access if it fails
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Block users from running your app with root permissions
Find the root directory of a Node.js project or npm package
Check if the process is running inside a Docker container
Check if a path is in the current working directory
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Check whether a file can be executed
Check if your package was installed globally