Search results

507 packages found

Node.js path.parse() ponyfill

published version 1.0.7, 4 years ago2495 dependents licensed under $MIT
238,087,811

Get the first path that exists on disk of multiple paths

published version 7.2.0, 2 years ago2466 dependents licensed under $MIT
641,745,055

User-friendly glob matching

published version 14.1.0, 4 months ago8834 dependents licensed under $MIT
293,467,081

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

published version 3.0.0, 4 years ago1079 dependents licensed under $MIT
100,545,289

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 ago1242 dependents licensed under $MIT
56,210,250

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 ago465 dependents licensed under $MIT
29,644,694

Node.js path.dirname() ponyfill

published version 1.0.2, 9 years ago358 dependents licensed under $MIT
33,355,382

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
28,816,750

Get the directory of globally installed packages and binaries

published version 4.0.1, 2 years ago76 dependents licensed under $MIT
16,963,088

Vite resolver for TypeScript compilerOptions.paths

published version 5.1.4, 6 months ago819 dependents licensed under $MIT
15,383,090

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
7,817,630

Determine XDG Base Directory paths (OS/platform portable)

published version 10.6.0, 2 years ago9 dependents licensed under $MIT
3,456,983

Find files based on partial paths

published version 5.0.3, 4 months ago23 dependents licensed under $MIT
6,306,421

Import all modules in a directory

published version 3.2.0, 2 years ago38 dependents licensed under $MIT
1,997,910

Replace alias paths with relative paths after typescript compilation.

published version 1.8.16, 20 days ago320 dependents licensed under $MIT
4,521,909

Get the paths of edge browser easily

published version 3.0.5, 2 years ago19 dependents licensed under $MIT
4,668,947

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

published version 7.4.0, 2 years ago5 dependents licensed under $MIT
3,456,955

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,453,245

Sort files in stream by path or any custom sort comparator

published version 2.0.0, 9 years ago73 dependents licensed under $MIT
2,223,284

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

published version 3.5.5, 2 months ago130 dependents licensed under $MIT
1,190,131