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

Predicate MainModulePath::of

Gets the path to the main entry point of pkg.

Import path

import semmle.javascript.NodeModuleResolutionImpl
MainModulePath of(PackageJson pkg)