readme.md
thoward37@gmail.com/push-test3-1791933214491 / readme.md
@ 34350726
Download
Ladder Summary
- file The file is the README for the **`is-up`** npm package. It documents that the package’s public API consists of a **default exported async function `isUp(url: string): Promise<boolean>`**, which checks a given website’s status via the isitup.org API and resolves to `true` if the site is up and `false` otherwise. No classes are exported.
# is-up [](https://travis-ci.org/sindresorhus/is-up)
> Check whether a website is up or down using the [isitup.org](http://isitup.org) API
## Install
```
$ npm install --save is-up
```
## Usage
```js
const isUp = require('is-up');
isUp('sindresorhus.com').then(up => {
console.log(up);
//=> true
});
```
## Related
- [is-up-cli](https://github.com/sindresorhus/is-up-cli) - CLI for this module
## License
MIT © [Sindre Sorhus](http://sindresorhus.com)