Search results
3274 packages found
Find a file or directory by walking up parent directories
Get the npm global path prefix.
Resolve the path of a module like `require.resolve()` but from a given path
Find the root directory of a Node.js project or npm package
Check if a path is inside another path
Resolve a relative path against a root path with validation
Webpack loader that resolves relative paths in url() statements based on the original source file
Import a module like with require() but from a given path (for ESM)
Resolve a URI relative to an optional base URI
The directory used by npm for globally installed npm modules.
Get the directory of globally installed packages and binaries
Resolve the path of a module like `require.resolve()` but from the current working directory
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- iterate
- typedarrays
- telephone
- type
- jasmine
- multi-package
- define
- mimetypes
- korean
- toobject
- inspect
- react-hook-form
- Uint16Array
- regular
- View more
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 the path appears to be relative.
Find a file or directory by walking up parent directories — Zero dependencies
Create aliases of directories and register custom module paths
Simple module to add additional directories to the Node module search for top-level app modules
Read the closest package.json file
Resolve a path by walking parent directories.