import-all-index
Uses dynamic import() to recursively loop through a directory tree, import all index.js or index.mjs files and return an array of references to the imported modules
Requires esm package or Node 12.
Usage:
{ let absolutePath = let apiRoutes = await apiRoutes}