Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Get the system locale
Check if the process is running as root user, for example, one started with `sudo`
Resolve a directory that is either local, global or in the user's home directory.
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Get the path to the user home directory
Get a GitHub username from an email address
Get the user home directory with fallback to the system temp 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
Easily write and read user settings in Electron apps
Get the username of the current user
Avatar component for Vue.js
Block users from running your app with root permissions
A simple persistent user settings framework for Electron.
Strip the authentication part of a URL
Get the passwd user entry from a username or uid
powered by npms.io 🚀