Predicate DataFlow::moduleImport

Gets a (default) import of the module with the given path, such as require("fs") or import * as fs from "fs".

This predicate can be extended by subclassing ModuleImportNode::Range.

Import path

import javascript
ModuleImportNode moduleImport(string path)