UNPKG

next-runtime-sitemap

Version:

Generates a sitemap for nextjs apps at runtime, using a crawl of the local filesystem

10 lines (9 loc) 236 B
export declare function introspectFile(dir: string, page: string, fileSuffixRE: RegExp): Promise<{ path: string; status: any; stats: import("fs").Stats; } | { path: string; status: number; stats?: undefined; }>;