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

Predicate NextJS::getAPagesFolder

Gets a “pages” folder in a Next.js application. JavaScript files inside these folders are mapped to routes.

Import path

import javascript
Folder getAPagesFolder()