CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.0 (changelog, source)
Search

Predicate resolveMainModule

Gets the main module described by pkg with the given priority.

Import path

import semmle.javascript.NodeModuleResolutionImpl
File resolveMainModule(PackageJson pkg, int priority, string exportPath)