If you've got the code working on your computer with Web Bluetooth then when you get your Espruino device you should find the code you need is basically identical.
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.
If you've got the code working on your computer with Web Bluetooth then when you get your Espruino device you should find the code you need is basically identical.
As an example, check out the NRF.requestDevice docs