1.0.4 • Published 2 years ago

keg-route-dynamic v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

PACKAGE example

Package that takes care of automating your route imports. You don't need to manually write your routes, simply in the same folder where you are located.

Install

npm install keg-route-dynamic
yarn add keg-route-dynamic
pnpm install keg-route-dynamic

EXAMPLE

ROUTE auth.routes.ts

as a recommendation, to the folders of your routes, export them as export { router }

return route.use('/auth.route', routeFile)