# isup

> Check if a website is up or down

Latest version **0.1.1** (published 2015-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install isup
pnpm add isup
yarn add isup
bun add isup
```

Provides the command `isup`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.1 |
| Published | 2015-02-13 |
| First published | 2015-02-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Adir Amsalem |
| Maintainers | adiramsalem |
| Keywords | isup |

## Links

- npm: https://www.npmjs.com/package/isup
- Repository: https://github.com/AdirAmsalem/isup
- Issues: https://github.com/AdirAmsalem/isup/issues
- npm.io page: https://npm.io/package/isup

## Dependencies (2)

- [commander](https://npm.io/package/commander.md) ^2.6.0
- [request-promise](https://npm.io/package/request-promise.md) ^0.4.0

## Recent versions

- 0.1.1 (latest) — 2015-02-13
- 0.1.0 — 2015-02-13

## README

# isup

With isup you can easily check if a website is up or down.

## Getting started
First, you need to install:

```shell
npm install -g isup
```

Then, you can use it both from the command line and as a module.

### cli
```shell
isup github.com

// github.com is up
// github.com is down
````

### Node.js
Note: when using that as a module, it's better to install it locally and also use the '--save' flag.

```js
var isup = require('isup');

var url = 'github.com';

isup(url)
    .then(function(result) {
        var upOrDown = result === true ? 'up' : 'down';
        console.log(url + ' is ' + upOrDown);
    })
    .catch(function(error) {
        console.error(error.toString());
    });
```

#### Enjoy!

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