How does one make a call in JS to get only the header details for a remote asset? I would like to check the size of the image before deciding to use it
I'm looking for a JS equivalent of:
curl -s --head 'https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png'