CodeQL library for JavaScript
Search

Predicate NodeJSLib::isCreateServer

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

Import path

import javascript
predicate isCreateServer(CallExpr call)