There's a very small amount of info on the IR proximity sensors here. They came with the Ultimate Espruino KickStarter kit, but I haven't done any tutorials with them.
They are pretty cheap to buy though, if you decide to go that route.
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.
There's a very small amount of info on the IR proximity sensors here. They came with the Ultimate Espruino KickStarter kit, but I haven't done any tutorials with them.
They are pretty cheap to buy though, if you decide to go that route.