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`
Resolve a directory that is either local, global or in the user's home directory.
Get the path to the user home directory
Get the user home directory with fallback to the system temp directory
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Get a GitHub username from an email address
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
Use the system-ui font family in CSS
Get paths for storing things like data, config, cache, etc
Parse a github URL into an object.
Get the username of the current user
Avatar component for Vue.js
Easily write and read user settings in Electron apps
A simple persistent user settings framework for Electron.
Block users from running your app with root permissions
Strip the authentication part of a URL
Get the passwd user entry from a username or uid
user auth middleware for koa
powered by npms.io 🚀