Predicate resolveMainModule
Gets the main module described by pkg with the given priority.
Import path
import semmle.javascript.NodeModuleResolutionImplFile resolveMainModule(PackageJson pkg, int priority, string exportPath)Gets the main module described by pkg with the given priority.
import semmle.javascript.NodeModuleResolutionImplFile resolveMainModule(PackageJson pkg, int priority, string exportPath)