Check if array of URLS exist without importing external npm package
I'm iterating over a list of URL and i want to check each time if the url exists or not without having to download the entirety of the page and if possible without importing any external npm package.Is there any way i can do that ?