Search results
22 packages found
Get paths for storing things like data, config, cache, etc
A proxy to `path`, replacing `\` with `/` for all results (supports UNC paths) & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions.
- path
- unix
- windows
- extension
- file extension
- replace extension
- change extension
- trim extension
- add extension
- default extension
- UNC paths
Use cross-platform IPC paths in Node.js.
Convert Windows file paths to unix paths.
Convert between POSIX and Windows paths.
Get XDG Base Directory paths
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, ...)
Determine XDG Base Directory paths (OS/platform portable)
## Installation:
Convert between POSIX and Windows paths.
Get cross-platform XDG Base Directories or their equivalents. Works with Linux, Windows (win32), or MacOS (darwin).
env-paths rewritten for Typescript
Unify paths in any texts across platforms to UNIXy (slashed dirs) format for comparison, reporting, etc.
Cross-platform file path sorting. Sort an array of path strings or objects containing path strings.
- sort
- sorting
- path
- paths
- file
- files
- filepath
- dir
- directory
- directories
- folder
- subdirectory
- relative
- absolute
- View more
A proxy to `path`, replacing `\` with `/` for all results (supports UNC paths) & new methods to normalize & join keeping leading `./` and add, change, default, trim file extensions.
- path
- unix
- windows
- extension
- file extension
- replace extension
- change extension
- trim extension
- add extension
- default extension
- UNC paths
A proxy to `path`, replacing `\` with `/` for all results
Command line tools that filter file paths by cached data.
Function to join paths that always returns forward slashes (uniform for unix and windows). A replacement to path.join
Node.js `path` replacement that converts all results to Unix-style paths.