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

Module MainModulePath

Import path

import semmle.javascript.NodeModuleResolutionImpl

Predicates

of

Gets the path to the main entry point of pkg.

of

Gets the path to the file exported from pkg as relativePath.