I have also been looking at the HM-10 and it does seem to be a drop-in replacement. Not tested just yet as I am still waiting on mine (and will take some time, with Chinese new year and all). One word of caution though: they come in a variety of shapes. I think the one from iMall is a good one, but I have seen plenty on e.g. ebay and aliexpress that are a good bit shorter or with all sorts of extra pins attached.
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.
I have also been looking at the HM-10 and it does seem to be a drop-in replacement. Not tested just yet as I am still waiting on mine (and will take some time, with Chinese new year and all). One word of caution though: they come in a variety of shapes. I think the one from iMall is a good one, but I have seen plenty on e.g. ebay and aliexpress that are a good bit shorter or with all sorts of extra pins attached.