CodeQL library for JavaScript
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()