Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.6.3 (changelog, source)

Predicate MainModulePath::of

Gets the path to the main entry point of pkg.

Import path

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