path packages
Packages tagged with "path".
12 packages
Resolve the path of a module like `require.resolve()` but from a given path
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Find the root directory of a Node.js project or npm package
Extract the non-magic parent path from a glob string.
Get the first path that exists on disk of multiple paths
Get the PATH environment variable key cross-platform
Resolve the path of a module like `require.resolve()` but from the current working directory
Some useful utilities I often need
Convert Windows backslash paths to slash paths
{G,S}et object values using MongoDB-like path notation
Get paths for storing things like data, config, cache, etc
Find a file or directory by walking up parent directories