resolve like require.resolve() on behalf of files asynchronously and synchronously
Read the closest package.json file
Resolve the path of a module like `require.resolve()` but from a given path
`Start a promise chain
Find the closest package.json file
Resolve the path of a module like `require.resolve()` but from the current working directory
Resolve a directory that is either local, global or in the user's home directory.
Delay a promise a specified amount of time
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.
Generates an asynchronous resolver function from a PAC file
Resolve the path of a package regardless of it having an entry point
Resolve the path of a globally installed module
Webpack loader that resolves relative paths in url() statements based on the original source file
Fulfill long runinng promises on timeout.
Reconstruct the original URL used in an HTTP request based on the HTTP request headers
Get the relative filepath from path A to path B. Calculates from file-to-directory, file-to-file, directory-to-file, and directory-to-directory.
Returns an array of NPM directory paths based on the user's platform and environment.
Get global npm prefix. Respects npmrc configs
Resolves index.js files with Rollup
Delay a promise a minimum amount of time
powered by npms.io 🚀