steps required to make it working
-
install npm (
sudo apt install npm
in ubuntu) -
install node-typescript (
sudo apt install node-typescript
in ubuntu) -
npm install
(from this directory) -
compile tipescript with
tsc
you have your javascript library in the javascript folder
otherwise you can directly import it via web by referring it with