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