Search results

1000+ packages found

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

published version 3.0.0, 4 years ago1077 dependents licensed under $MIT
121,426,817

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

published version 3.1.0, 6 years ago1206 dependents licensed under $MIT
140,583,846

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

published version 5.0.0, 2 years ago864 dependents licensed under $MIT
63,615,008

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, 9 years ago361 dependents licensed under $MIT
54,476,152

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

published version 1.0.1, 8 years ago238 dependents licensed under $MIT
52,293,306

Get the system locale

published version 6.0.2, 4 years ago617 dependents licensed under $MIT
39,735,564

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

published version 3.0.0, 4 years ago592 dependents licensed under $MIT
28,265,072

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

published version 4.0.0, 4 years ago214 dependents licensed under $MIT
15,445,639

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

published version 3.0.0, 4 years ago600 dependents licensed under $MIT
10,976,609

Parse a github URL into an object.

published version 1.0.3, a year ago316 dependents licensed under $MIT
8,291,850

Get metadata on the default editor or a specific editor

published version 1.1.0, 3 years ago36 dependents licensed under $MIT
6,551,747

Get a GitHub username from an email address

published version 9.0.0, 5 months ago196 dependents licensed under $MIT
4,227,763

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

published version 8.3.0, 2 years ago41 dependents licensed under $MIT
3,757,723

A cross-platform path to the user's home

published version 1.0.1, 9 months ago139 dependents licensed under $MIT
3,126,939

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

published version 2.3.0, 7 years ago459 dependents licensed under $MIT
3,688,642

Role and Attribute based Access Control for Node.js

published version 2.2.1, 7 years ago100 dependents licensed under $MIT
221,995

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

published version 2.0.0, 4 years ago892 dependents licensed under $MIT
1,446,165

Block users from running your app with root permissions

published version 5.0.0, 2 years ago58 dependents licensed under $MIT
1,419,378

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

published version 4.0.0, 4 years ago16 dependents licensed under $MIT
1,608,915

Try to downgrade the permissions of a process with root privileges

published version 2.0.0, 4 years ago13 dependents licensed under $MIT
1,446,157