Nobody has written a module to support that yet. Usually if you are using an ESP32, you're planning to connect via WiFi, and if you're using hardwired ethernet, you'd use a Pico or something else based on an STM32 with an ethernet module (though we only have support for the Wiznet devices, not the LAN8720 at this point as far as I know)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Nobody has written a module to support that yet. Usually if you are using an ESP32, you're planning to connect via WiFi, and if you're using hardwired ethernet, you'd use a Pico or something else based on an STM32 with an ethernet module (though we only have support for the Wiznet devices, not the LAN8720 at this point as far as I know)