CodeQL library for JavaScript
codeql/javascript-all 0.2.2 (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()