Search results

509 packages found

Get the first path that exists on disk of multiple paths

published version 7.2.0, 2 years ago2471 dependents licensed under $MIT
682,577,773

Node.js path.parse() ponyfill

published version 1.0.7, 4 years ago2500 dependents licensed under $MIT
251,564,779

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

published version 3.0.0, 4 years ago1094 dependents licensed under $MIT
105,839,725

User-friendly glob matching

published version 14.1.0, 4 months ago8852 dependents licensed under $MIT
308,984,250

Use property paths like 'a.b.c' to get a nested value from an object. Even works when keys have dots in them (no other dot-prop library we tested does this, or does it correctly).

published version 4.0.1, 4 months ago1241 dependents licensed under $MIT
58,587,661

Node.js path.dirname() ponyfill

published version 1.0.2, 9 years ago358 dependents licensed under $MIT
35,820,507

Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.

published version 1.0.0, 8 years ago464 dependents licensed under $MIT
31,828,802

Returns true if a filepath exists on the file system and it's directory.

published version 0.3.1, 9 years ago680 dependents licensed under $MIT
30,249,555

Get the directory of globally installed packages and binaries

published version 4.0.1, 2 years ago76 dependents licensed under $MIT
17,889,026

Vite resolver for TypeScript compilerOptions.paths

published version 5.1.4, 6 months ago833 dependents licensed under $MIT
17,092,473

Determine XDG Base Directory paths (OS/platform portable)

published version 10.6.0, 2 years ago9 dependents licensed under $MIT
3,665,528

Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)

published version 0.10.0, 9 years ago133 dependents licensed under $MIT
8,221,352

Find files based on partial paths

published version 5.0.3, 4 months ago23 dependents licensed under $MIT
6,748,082

Import all modules in a directory

published version 3.2.0, 2 years ago38 dependents licensed under $MIT
2,160,658

Replace alias paths with relative paths after typescript compilation.

published version 1.8.16, a month ago330 dependents licensed under $MIT
5,002,384

Get the paths of edge browser easily

published version 3.0.5, 2 years ago19 dependents licensed under $MIT
4,780,097

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

published version 8.3.0, 2 years ago39 dependents licensed under $MIT
3,661,672

Determine common OS/platform paths (home, temp, ...)

published version 7.4.0, 2 years ago5 dependents licensed under $MIT
3,664,988

Sort files in stream by path or any custom sort comparator

published version 2.0.0, 9 years ago73 dependents licensed under $MIT
2,326,355

Transforms module resolution paths using TypeScript path mapping and/or custom paths

published version 3.5.5, 3 months ago130 dependents licensed under $MIT
1,294,398