Did you get it to work, I tried all options above, also included path like require("http://www.espruino.com/modules/DHT22.js"); still get the error:
dht = require("DHT22").connect(D4); Uncaught Error: Module "DHT22" not found
@PeterS 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.
Did you get it to work, I tried all options above, also included path like require("http://www.espruino.com/modules/DHT22.js");
still get the error: