When working with Express.js, it is possible to retrieve the names of all controllers from an app. However, these names are usually in an unfamiliar format (such as handle: [AsyncFunction: login]). I have been unable to figure out how to destructure this information in order to obtain the file path linked to each controller.
If this approach leads to a dead end, I am curious if there are alternative methods for extracting this data from the application?