is-online
Check if the internet connection is up
@esm2cjs/is-online
Check if the internet connection is up. This is a fork of sindresorhus/is-online, but with CommonJS support.
internet-available
A module to verify if there's an active internet connection with Node.js