The Wayback Machine - https://web.archive.org/web/20210410223943/https://codeql.github.com/codeql-standard-libraries/javascript/semmle/javascript/dataflow/Nodes.qll/predicate.Nodes$moduleMember.2.html
CodeQL library for JavaScript
Search

Predicate DataFlow::moduleMember

Gets a data flow node that either imports m from the module with the given path, or accesses m as a member on a default or namespace import from path.

Import path

import javascript
SourceNode moduleMember(string path, string m)