node.js periksa apakah ada url jarak jauh

import urlExist from "url-exist"

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

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