is-up

Check whether a website is up or down

Usage no npm install needed!

<script type="module">
  import isUp from 'https://cdn.skypack.dev/is-up';
</script>

README

is-up Build Status

Check whether a website is up or down using the isitup.org API

Install

$ npm install is-up

Usage

const isUp = require('is-up');

(async () => {
    console.log(await isUp('https://sindresorhus.com'));
    //=> true
})();

Specifying the protocol is optional.

Related