# uptime-system

> Uptime module with advanced features.

Latest version **1.0.3** (published 2021-05-31) · Apache-2.0 license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install uptime-system
pnpm add uptime-system
yarn add uptime-system
bun add uptime-system
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-05-31 |
| First published | 2021-05-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | 12.x |
| Dependencies | 5 |
| Unpacked size | 40 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | elona |
| Keywords | uptime, uptime-sytem, glitch-uptime, uptimer, ping, ping-system |

## Links

- npm: https://www.npmjs.com/package/uptime-system
- npm.io page: https://npm.io/package/uptime-system

## Dependencies (5)

- [ms](https://npm.io/package/ms.md) ^2.1.3
- [ejs](https://npm.io/package/ejs.md) ^3.1.6
- [express](https://npm.io/package/express.md) ^4.17.1
- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1
- [uptime-system](https://npm.io/package/uptime-system.md) ^1.0.2

## Recent versions

- 1.0.3 (latest) — 2021-05-31
- 1.0.2 — 2021-05-31
- 1.0.1 — 2021-05-31
- 1.0.0 — 2021-05-31

## README

## What is this module ?

This module help to 7/24 a project and you can uptime bot with this module easily!

## How can i use ?

```js
const { Uptime } = require("uptime-system")

var uptime = new Uptime({
  url: "https://your.domain/",//website link
  time: 1,//time
  time_type: 'minute',// you can use millisecond, minute, hour, day, week
  callback: "console.log('your.domain successfully uptime!')"//callback function action to be performed each time it uptimes
})
```

# Documentation

| Method        | Type           | Description |
| ------------- |:-------------:|:--------------:|
| new Uptime() | Object | You can uptime your project or any other project |

# 'new Uptime()' options

| Option        | Type          | Description |
| ------------- |:-------------:|:--------------:|
| url: "https://your.domain" | String | You can add your link with this option |
| time: 1 | Number | You specify interval |
| time_type: "minute" | String | You specify interval type |
| callback: "console.log('your.domain successfully uptime!')" | String | You specify what uptime-system do on every uptime |

---
_Source: https://npm.io/package/uptime-system · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
