this might help to build a map nodemcu to esp8266 pin names:
https://github.com/espruino/Espruino/blob/master/targets/esp8266/jswrap_nodemcu.c
@MaBe started
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.
this might help to build a map nodemcu to esp8266 pin names:
https://github.com/espruino/Espruino/blob/master/targets/esp8266/jswrap_nodemcu.c