1.0.3 • Published 3 days ago

fping v1.0.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
3 days ago

fping

version badge vuln badge

This is a TypeScript wrapper for the fping CLI utility.

Installation

Use npm to install this project.

npm install fping

Ensure your system has the fping CLI utility installed. On Debian-based systems, this can be done with:

sudo apt install fping

On macOS, this can be done with:

brew install fping

For other Linux-based systems, see if your package manager has fping, if a repository exists for it, or build it from source.

Usage

import ping from 'fping';

// Ping some things
let responses = await ping('google.com', 'microsoft.com');
{
    {
        "host": "google.com",
        "alive": true,
        "elapsed": 57
    },
    {
        "host": "microsoft.com",
        "alive": true,
        "elapsed": 73
    }
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

GPL-3.0

1.0.3

3 days ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago