Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

100
Vistas
How to Extract Path of Controller Function in Express.js

In Express.js, from an app, you can extract the name of all controllers. Though, the name comes in a strange form (e.g. handle: [AsyncFunction: login]). I cannot find a way to destructure this which could potentially give the filepath.

If this is a dead end, is there any other way to extract this information from from the app?

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

If you just need the filepath, why not using the available native __dirname (Ecmascript) or import.meta.url (CommonJS) ?

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda