The package is always a host of itself.
Resolved import specifier.
Information on resolved package.
URI used as path resolution base.
Defaults to uri. But may be a directory URI instead.
Root module resolution.
This is typically a package resolution created by resolveRootPackage function.
Always empty path.
URI of package directory.
Always returns itself.
Always returns itself.
Dereferences this import.
It may e.g. dereference package name to module path.
Either dereferenced import, or this
instance if nothing to dereference.
Resolves direct dependency of the module on another one.
The package to resolve dependency on.
Optional
request: ImportDependencyRequestOptional dependency resolution request.
Either dependency descriptor, or null
if the module does not depend on another one.
Resolves another module imported by this one.
Imported module specifier, either recognized or not.
Promise resolved to imported module resolution.
Generated using TypeDoc
Imported NodeJS package resolution.
The package is a directory with
package.json
file.