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

Member predicate NpmPackage::getAModule

Gets a Node.js module belonging to this package.

We only consider modules to belong to the nearest enclosing package, and modules inside the node_modules folder of a package are not considered to belong to that package.

Module getAModule()