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

Predicate NodeJSLib::isCreateServer

Holds if call is an invocation of http.createServer or https.createServer.

Import path

import javascript
predicate isCreateServer(CallNode call)