How to read Spring Boot properties (application.properties) from Javascript file?

Is there a way to read Spring properties from HTML or JavaScript file? I might convert the HTML to JSP and read it. But I am looking for a solution with HTML or JavaScript.

I have values in application.properties file in /resources/config, and I like to read this from my HTML or JavaScript file sits under /resources/static.

test.value=1234

Is this possible? Are there any other suggestions if reading it from plain HTML or JS is not possible?