node.js verifique si existe una URL remota

import urlExist from "url-exist"

const exists = await urlExist("https://google.com")

// Handle result
console.log(exists)
Determined Dolphin