Importing my-slider library to TS app instead of yaml

I’m trying to create a new thermometer card all in Typescript and I would like to try and use the my-slider library used in Lovelace ui library. I haven’t been able to find any documentation on how to import it into another TS project and then how to initialize the slider in the html.

Wondering if anyone can help me out?