Search results

1000+ packages found

Parse a github URL into an object.

published version 1.0.3, 7 months ago317 dependents licensed under $MIT
4,389,525

Strip the authentication part of a URL

published version 2.0.0, 4 years ago14 dependents licensed under $MIT
284,919

Get metadata on the default editor or a specific editor

published version 1.1.0, 3 years ago32 dependents licensed under $MIT
3,181,432

Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT

published version 3.1.0, 6 years ago1314 dependents licensed under $MIT
73,326,305

Get paths for storing things like data, config, cache, etc

published version 3.0.0, 3 years ago979 dependents licensed under $MIT
66,264,833

Parse the various Spotify URI formats into Objects and back

published version 4.1.0, 8 months ago35 dependents licensed under $MIT
64,345

Get the username (or 'owner' name) from a git/GitHub remote origin URL.

published version 1.0.0, 7 years ago74 dependents licensed under $MIT
280,717

Read user name, email and URL from .npmrc or .gitconfig

published version 1.0.0, 7 years ago25 dependents licensed under $MIT
67,599

Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`

published version 5.0.0, 2 years ago864 dependents licensed under $MIT
39,870,825

Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.

published version 2.0.2, 8 years ago405 dependents licensed under $MIT
30,686,216

Resolve a directory that is either local, global or in the user's home directory.

published version 1.0.1, 7 years ago277 dependents licensed under $MIT
26,838,532

Get the system locale

published version 6.0.2, 3 years ago674 dependents licensed under $MIT
18,629,551

Check if the process is running as root user, for example, one started with `sudo`

published version 3.0.0, 4 years ago615 dependents licensed under $MIT
15,743,194

Get the user home directory with fallback to the system temp directory

published version 4.0.0, 4 years ago251 dependents licensed under $MIT
6,277,790

Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`

published version 3.0.0, 3 years ago603 dependents licensed under $MIT
6,481,840

Role and Attribute based Access Control for Node.js

published version 2.2.1, 7 years ago100 dependents licensed under $MIT
107,955

Parse a Bitbucket URL into an object.

published version 0.3.0, 8 years ago3 dependents licensed under $MIT
5,655

A cross-platform path to the user's home

published version 1.0.1, 4 months ago134 dependents licensed under $MIT
2,513,790

Get a GitHub username from an email address

published version 8.0.0, a year ago226 dependents licensed under $MIT
2,785,568

Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)

published version 8.3.0, 2 years ago29 dependents licensed under $MIT
2,195,096