is there any way to get "CPU , GPU , RAM" info in javascript

i work on small 2d game by using Canvas + JavaScript
my idea it’s how can i get resource info & then i printed values in screen
for example like "minecraft" :

enter image description here