UNPKG

snyk-resolve-deps

Version:

Resolves a node package tree with combined support for both npm@2 and npm@3.

12 lines (11 loc) 447 B
import { Options, LogicalRoot } from './types'; declare function resolveDeps(dir: string, options: Options): Promise<LogicalRoot>; declare namespace resolveDeps { var physicalTree: typeof import("./deps"); var logicalTree: typeof import("./logical"); var walk: typeof import("./walk"); var prune: typeof import("./prune"); var pluck: typeof import("./pluck"); var unique: typeof import("./unique"); } export = resolveDeps;