UNPKG

@mgilangjanuar/ex-router

Version:

A lightweight, automatic file-based routing, inspired by Next.js-style dynamic routes.

16 lines (15 loc) 425 B
/** * ex-router * * @license MIT * (c) 2025 Pradeep Kumar * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction... */ declare function loadRoutes(app: any, { routeDir, prefixUrl }: { routeDir: string; prefixUrl?: string; }): Promise<void>; export { loadRoutes };