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

Predicate NodeJSLib::Path::moduleImport

Gets a node that imports the “path” module, or one of its platform-specific instances.

Import path

import javascript
SourceNode moduleImport()