Socket
Book a DemoInstallSign in
Socket

is-online-cli

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-online-cli

Check if the internet connection is up

latest
Source
npmnpm
Version
7.0.0
Version published
Maintainers
1
Created
Source

is-online-cli

Check if the internet connection is up

Install

npm install --global is-online-cli

Usage

$ is-online --help

  Usage
    $ is-online

  Options
    --timeout  Seconds to wait for a server to respond (Default: 5)

  Example
    $ is-online
    ✔ Online

  Exit code 0 if online and 1 if offline.
  • is-online - API for this package

Keywords

cli-app

FAQs

Package last updated on 11 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts