Search results
509 packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
Get the first path that exists on disk of multiple paths
Node.js path.parse() ponyfill
Get paths for storing things like data, config, cache, etc
User-friendly glob matching
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).
Node.js path.dirname() ponyfill
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`.
Returns true if a filepath exists on the file system and it's directory.
Get the directory of globally installed packages and binaries
Vite resolver for TypeScript compilerOptions.paths
Determine XDG Base Directory paths (OS/platform portable)
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)
Find files based on partial paths
Import all modules in a directory
Replace alias paths with relative paths after typescript compilation.
Get the paths of edge browser easily
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
- appdir
- application
- cache
- common
- config
- cross-platform
- data
- directory
- environment
- linux
- mac
- macos
- node4
- node6
- View more
Determine common OS/platform paths (home, temp, ...)
Sort files in stream by path or any custom sort comparator
Transforms module resolution paths using TypeScript path mapping and/or custom paths