Repository
Current version released
4 years ago
Versions
🕸️ Online
Check if your machine is currently online and connected to the internet in Deno.
import { isOnline } from "https://deno.land/x/online/mod.ts";
const result = await isOnline(); // boolean
Required permissions:
--allow-net
👩💻 Development
Run tests:
deno test --allow-net
⭐ Related Work
- sindresorhus/is-online is the Node.js project serving as inspiration for this one
📄 License
MIT © Denorg