Showing 1-20 of 1,660,694 packages
Express style path to RegExp utility
Convert file/directory path to glob pattern.
Express style path to RegExp utility
Convert all segments in a path to curves
Convert a tilde path to an absolute path: `~/dev` → `/Users/sindresorhus/dev`
A cross-platform path to the user's home
Get the path to an app (macOS)
Resolve the path to the user's local or global .gitconfig.
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Returns path to globally installed package
Migration path to React Router v6 from v4/5
Resolve npm package details, like name and base path, given an absolute path to a file inside a package
Resolves a path to an absolute path. Supports tilde
Convert a file path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`
Convert a file path to a vinyl file.
Use the node way to resolve required path to absolute path.
A tiny (399B) utility that converts route patterns into RegExp. Limited alternative to `path-to-regexp` 🙇
Normalize slashes in a file path to be posix/unix-like forward slashes. Also condenses repeat slashes to a single slash and removes and trailing slashes, unless disabled.
Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home directory, or `~+` to the cwd.
Get the path to the bash binary on your OS.