Search results

1000+ packages found

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

published version 3.0.0, 3 years ago986 dependents licensed under $MIT
82,217,306

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

published version 3.1.0, 6 years ago1320 dependents licensed under $MIT
93,579,770

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

published version 5.0.0, 2 years ago867 dependents licensed under $MIT
50,258,049

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 ago404 dependents licensed under $MIT
38,308,538

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

published version 1.0.1, 8 years ago276 dependents licensed under $MIT
33,139,467

Get the system locale

published version 6.0.2, 3 years ago674 dependents licensed under $MIT
23,387,239

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
22,331,120

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

published version 3.0.0, 3 years ago603 dependents licensed under $MIT
7,993,812

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

published version 4.0.0, 4 years ago251 dependents licensed under $MIT
7,823,380

Parse a github URL into an object.

published version 1.0.3, 8 months ago319 dependents licensed under $MIT
5,321,062

Get metadata on the default editor or a specific editor

published version 1.1.0, 3 years ago32 dependents licensed under $MIT
3,976,546

A cross-platform path to the user's home

published version 1.0.1, 4 months ago134 dependents licensed under $MIT
2,965,768

Get a GitHub username from an email address

published version 8.0.0, 2 years ago226 dependents licensed under $MIT
3,185,717

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

published version 8.3.0, 2 years ago29 dependents licensed under $MIT
3,003,074

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,555,064

Try to downgrade the permissions of a process with root privileges and block access if it fails

published version 2.0.0, 4 years ago903 dependents licensed under $MIT
903,129

Get the username of the current user

published version 7.0.0, a year ago318 dependents licensed under $MIT
1,147,937

Try to downgrade the permissions of a process with root privileges

published version 2.0.0, 4 years ago13 dependents licensed under $MIT
866,442

UUID v4 generator and validator (RFC4122 compliant)

published version 0.1.1, 10 years ago14 dependents licensed under $MIT
637,182

Use the system-ui font family in CSS

published version 5.0.0, 4 years ago17 dependents licensed under $CC0-1.0
634,246