Search results

1000+ packages found

Parse a github URL into an object.

published version 1.0.3, 6 months ago315 dependents licensed under $MIT
6,318,234

Strip the authentication part of a URL

published version 2.0.0, 4 years ago13 dependents licensed under $MIT
468,003

Get metadata on the default editor or a specific editor

published version 1.1.0, 3 years ago29 dependents licensed under $MIT
3,528,391

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

published version 1.0.0, 7 years ago25 dependents licensed under $MIT
158,313

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

published version 3.1.0, 5 years ago1309 dependents licensed under $MIT
106,151,229

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

published version 3.0.0, 3 years ago964 dependents licensed under $MIT
84,831,685

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
395,041

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

published version 5.0.0, 2 years ago862 dependents licensed under $MIT
53,856,722

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 ago399 dependents licensed under $MIT
42,465,451

Get the system locale

published version 6.0.2, 3 years ago674 dependents licensed under $MIT
34,903,575

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

published version 1.0.1, 7 years ago272 dependents licensed under $MIT
38,641,335

Parse the various Spotify URI formats into Objects and back

published version 4.1.0, 7 months ago35 dependents licensed under $MIT
48,198

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

published version 3.0.0, 4 years ago614 dependents licensed under $MIT
19,319,732

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

published version 4.0.0, 4 years ago251 dependents licensed under $MIT
14,363,577

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

published version 3.0.0, 3 years ago603 dependents licensed under $MIT
8,767,537

Parse a Bitbucket URL into an object.

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

Role and Attribute based Access Control for Node.js

published version 2.2.1, 7 years ago100 dependents licensed under $MIT
143,440

Get a GitHub username from an email address

published version 8.0.0, a year ago228 dependents licensed under $MIT
3,997,218

A cross-platform path to the user's home

published version 1.0.1, 2 months ago131 dependents licensed under $MIT
2,880,370

Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing

published version 2.3.0, 7 years ago471 dependents licensed under $MIT
2,929,920