Search node_modules for locally developed packages
Load node modules according to tsconfig paths, in run-time or via API.
Get paths for storing things like data, config, cache, etc
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)
Load modules according to tsconfig paths in webpack.
Get the first path that exists on disk of multiple paths
Enforces module path case sensitivity in Webpack
Tests whether one path is inside another path
walk paths fast and efficiently
Vite resolver for TypeScript compilerOptions.paths
Check if a path is inside another path
Moving a file to different folder, could result in changing all imports statement in that file. This will not happen is the import paths are absolute. The eslint rule helps enforcing having absolute import paths. Support eslint --fix to automatically chan
Useful functions when working with JSON.
Get the paths of edge browser easily
Helper function to get an absolute path for a template engine view
A lightweight cache for file metadata, ideal for processes that work on a specific set of files and only need to reprocess files that have changed since the last run
Compiles your TS app and restarts when files are modified.
Replace alias paths with relative paths after typescript compilation.
Convert Windows backslash paths to slash paths
Get and robustly cache all JS language-level intrinsics at first require time
Determine (XDG-compatible) paths for storing application files (cache, config, data, etc)
Babel preset used by Create React App
Determine common OS/platform paths (home, temp, ...)
Get XDG Base Directory paths