fastify-autoroutes
fastify-autoroutes copied to clipboard
fastest way to map directories to URLs in fastify
Currently, you cannot install along Fastify 4.0, dependency resolution fails. Can we have support for Fastify 4.0?
### Versions fastify-autoroute: 2.1.3 node: 18.1.0 os: docker [Alpine] terminal: sh ### Expected Behavior Working autorouting ### Actual Behavior Not working everything ### Steps to Reproduce ```javascript import fastifyFramework from...
Hello, I have just installed fast-autoroutes in a new project but the post installation (using npm) displays: ```sh > npm install --save fastify-autoroutes added 16 packages, and audited 921 packages...
As specified by [fastify docs](https://www.fastify.io/docs/latest/Routes/#url-building), it is allows to use multiple params. The `while` code was not supported it.
I can seem to get the package working correctly when using ES modules: `server.js`: ```javascript ... import autoroutes from 'fastify-autoroutes' ... ... try { await server.register(autoroutes, { dir:'./routes', }) }...