Skip to content

Function: resolveDependencies()

resolveDependencies(manifest, options?): Promise<ResolvedNpmDependencies>

Return resolvable dependency specifiers for an in-memory package.json.

The input object is not mutated. Unavailable registry packages (or their parents) are pinned until the packument graph is complete.

Record<string, unknown>

DependencyResolverOptions = {}

Promise<ResolvedNpmDependencies>