node-uptime-monitoring-tool

1.0.2 • Public • Published

node-uptime-monitoring-tool

A simple Node.js tool for monitoring the uptime of websites or APIs.

Setup

Clone the repository and run npm install to install dependencies.

Configuration

Create a config.json file in the root directory with the following structure:

{
"urls": [
"http://example.com",
"http://anotherexample.com"
],
"checkInterval": 60000
}
  • urls is an array of URLs you want to monitor.
  • checkInterval is the time interval between checks in milliseconds.

Usage

Run the tool with node index.js. The tool will periodically check the uptime of each URL and log the results to the console.

License

This project is licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i node-uptime-monitoring-tool

Weekly Downloads

5

Version

1.0.2

License

MIT

Unpacked Size

2.18 kB

Total Files

4

Last publish

Collaborators

  • ivalvganske