Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Get the system locale
Node.js 4 `os.homedir()` ponyfill
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
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.
Convert a tilde path to an absolute path: ~/dev => /Users/sindresorhus/dev
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 an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Use the system-ui font family in CSS
Node.js 0.12 fs.access() & fs.accessSync() ponyfill
Get paths for storing things like data, config, cache, etc
Parse a github URL into an object.
Get the username of the current user
Easily write and read user settings in Electron apps
Block users from running your app with root permissions
Avatar component for Vue.js
Get the passwd user entry from a username or uid
powered by npms.io 🚀