Check if website is down using ping
command.
import { down } from 'https://deno.land/x/down@1.0.2/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/down@1.0.2/mod.ts
https://x.nest.land/down@1.0.0/mod.ts