Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Parse a github URL into an object.
Strip the authentication part of a URL
Get metadata on the default editor or a specific editor
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Get paths for storing things like data, config, cache, etc
Parse the various Spotify URI formats into Objects and back
Get the username (or 'owner' name) from a git/GitHub remote origin URL.
Read user name, email and URL from .npmrc or .gitconfig
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
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 system locale
Check if the process is running as root user, for example, one started with `sudo`
Get the user home directory with fallback to the system temp directory
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Role and Attribute based Access Control for Node.js
Parse a Bitbucket URL into an object.
A cross-platform path to the user's home
Get a GitHub username from an email address
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
- appdir
- application
- cache
- common
- config
- cross-platform
- data
- directory
- environment
- linux
- mac
- macos
- node4
- node6
- View more