Search results

1000+ packages found

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

published version 3.0.0, 4 years ago1039 dependents licensed under $MIT
97,374,599

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

published version 3.1.0, 6 years ago1334 dependents licensed under $MIT
102,574,010

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 ago402 dependents licensed under $MIT
44,924,794

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

published version 5.0.0, 2 years ago885 dependents licensed under $MIT
55,743,232

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

published version 1.0.1, 8 years ago275 dependents licensed under $MIT
40,501,778

Get the system locale

published version 6.0.2, 3 years ago676 dependents licensed under $MIT
24,100,821

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
20,463,509

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

published version 3.0.0, 4 years ago606 dependents licensed under $MIT
10,076,394

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,825,315

Parse a github URL into an object.

published version 1.0.3, 10 months ago321 dependents licensed under $MIT
6,120,382

Get metadata on the default editor or a specific editor

published version 1.1.0, 3 years ago35 dependents licensed under $MIT
5,567,236

A cross-platform path to the user's home

published version 1.0.1, 6 months ago135 dependents licensed under $MIT
3,272,294

Get a GitHub username from an email address

published version 9.0.0, 2 months ago223 dependents licensed under $MIT
3,468,345

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

published version 8.3.0, 2 years ago33 dependents licensed under $MIT
3,387,029

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,825,832

Get the username of the current user

published version 7.0.0, a year ago318 dependents licensed under $MIT
1,737,026

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

published version 2.0.0, 4 years ago910 dependents licensed under $MIT
984,245

Block users from running your app with root permissions

published version 5.0.0, 2 years ago68 dependents licensed under $MIT
994,568

Try to downgrade the permissions of a process with root privileges

published version 2.0.0, 4 years ago13 dependents licensed under $MIT
939,610

Get the passwd user entry from a username or user identifier (UID)

published version 4.0.0, 3 years ago16 dependents licensed under $MIT
1,106,428