CodeQL library for JavaScript
codeql/javascript-all 0.6.2 ( changelog , source )

Member predicate NpmPackage :: getAFile

Gets a file belonging to this package.

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

File getAFile ( )