CodeQL library for JavaScript
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()