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
Read user name, email and URL from .npmrc or .gitconfig
Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT
Get paths for storing things like data, config, cache, etc
Get the username (or 'owner' name) from a git/GitHub remote origin URL.
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.
Get the system locale
Resolve a directory that is either local, global or in the user's home directory.
Parse the various Spotify URI formats into Objects and back
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`
Parse a Bitbucket URL into an object.
Role and Attribute based Access Control for Node.js
Get a GitHub username from an email address
A cross-platform path to the user's home
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing