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

Predicate NextJS::apiFolder

Gets a folder that contains API endpoints for a Next.js application. These API endpoints act as Express-like route-handlers.

Import path

import javascript
Folder apiFolder()