Check if website is down using ping
command.
import { down } from 'https://deno.land/x/[email protected]/mod.ts'
await down('example.com') // false
the ping
module is available in the following Deno registries:
https://crux.land/4c3BpF
https://deno.land/x/[email protected]/mod.ts
https://x.nest.land/[email protected]/mod.ts