RouterWrapperJs - Express and Fastify Routers Wrapper #5359
islamaf
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys! While working on an Express app, I created a simple wrapper for the routes based on the Express router. Generally, allowing me to chain routes with different paths together, sharing middleware across specific routes and using an authentication middleware automatically when needed!
I found out that it actually has made the whole process of dealing with routes a better experience in Express in my opinion so I made an NPM package for it, supporting also Fastify now!
You can find it here!
Your feedback would be greatly welcomed and appreciated! Thank you in advance:)
Beta Was this translation helpful? Give feedback.
All reactions