nextjs-paths
Version:
Generate path helpers for Next.js App Router
10 lines (9 loc) • 317 B
TypeScript
export type CaseStyle = "camelCase" | "lowerSnake" | "upperSnake" | "pascalCase";
export interface GeneratePathsOptions {
appDir?: string;
envKey?: string;
caseStyle?: CaseStyle;
outputDir?: string;
fileName?: string;
}
export declare function generatePaths(options?: GeneratePathsOptions): void;