Search results

486 packages found

Node.js path.parse() ponyfill

published version 1.0.7, 4 years ago2389 dependents licensed under $MIT
202,279,326

Get the first path that exists on disk of multiple paths

published version 7.2.0, 2 years ago2358 dependents licensed under $MIT
575,033,817

User-friendly glob matching

published version 14.0.2, 5 months ago8628 dependents licensed under $MIT
289,653,053

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

published version 3.0.0, 3 years ago964 dependents licensed under $MIT
78,866,898

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 can do this!).

published version 3.0.1, 7 years ago1230 dependents licensed under $MIT
64,626,360

Node.js path.dirname() ponyfill

published version 1.0.2, 8 years ago353 dependents licensed under $MIT
36,810,399

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

published version 0.3.1, 9 years ago663 dependents licensed under $MIT
28,800,393

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, 7 years ago445 dependents licensed under $MIT
28,153,203

Get the directory of globally installed packages and binaries

published version 4.0.1, a year ago58 dependents licensed under $MIT
12,995,681

Vite resolver for TypeScript compilerOptions.paths

published version 5.1.4, 4 days ago633 dependents licensed under $MIT
10,410,069

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 ago129 dependents licensed under $MIT
5,783,714

Import all modules in a directory

published version 3.2.0, 2 years ago34 dependents licensed under $MIT
1,836,628

Determine XDG Base Directory paths (OS/platform portable)

published version 10.6.0, 2 years ago9 dependents licensed under $MIT
2,606,539

Get the paths of edge browser easily

published version 3.0.5, 2 years ago14 dependents licensed under $MIT
4,438,368

Find files based on partial paths

published version 5.0.2, 8 months ago22 dependents licensed under $MIT
3,978,612

Replace alias paths with relative paths after typescript compilation.

published version 1.8.10, 7 months ago278 dependents licensed under $MIT
2,868,058

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

published version 7.4.0, 2 years ago5 dependents licensed under $MIT
2,605,733

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

published version 8.3.0, 2 years ago27 dependents licensed under $MIT
2,604,911

Sort files in stream by path or any custom sort comparator

published version 2.0.0, 9 years ago71 dependents licensed under $MIT
1,439,661

A proxy to `path`, replacing `\` with `/` for all results

published version 3.1.20, 3 months ago78 dependents licensed under $ISC
438,298