Porting Microbit Extensions?

Hi everyone,
I have been using Adafruit Circuit Playground Express for a few days now and was wondering what the requirements would be to migrate a BBC Microbit extension and make it work with Playground Express.
Microbit has many extensions, and I’m more than happy to migrate them if there are any guidelines or tutorials.
I have tried to do it, but there are so Javascript APIs that seem to not exist on this side, like:
DigitalPin Type, input.runningTime() and pins.digitalWritePin()
This is one example of extensions I’m planning to migrate:

Thanks,
Alex