CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.9.0 (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.