Describes how to program #MongooseOS in JavaScript - https://mongoose-os.com
ESP8266 NodeMCU board is made remotely controllable using RPC mechanism.
Mongoose OS is an open source Operating System for the Internet of Things.
Supported microcontrollers: ESP32, ESP8266, STM32, TI CC3200.
Code in JavaScript or C.
Amazon AWS IoT integrated.