Current HA version using javascript

Not sure it is the right place to ask.
I’m developing a simple Discord Bot for our Israel HA Discord server.
Is there any way to fetch the latest HA version using JavaScript? To show as one of bot commands.

Thanks in advance.

Do you mean this?