Get the system locale
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Check if the process is running as root user, for example, one started with `sudo`
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Resolve a directory that is either local, global or in the user's home directory.
Get the user home directory with fallback to the system temp directory
Get the path to the user home directory
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Use the system-ui font family in CSS
Parse a github URL into an object.
Get paths for storing things like data, config, cache, etc
Get a GitHub username from an email address
Get the username of the current user
Avatar component for Vue.js
Block users from running your app with root permissions
Strip the authentication part of a URL
A simple persistent user settings framework for Electron.
Easily write and read user settings in Electron apps
A cross-platform path to the user's home
powered by npms.io 🚀