is-up - 检查一个网站是否当机

is-up - 检查一个网站是否当机

Node.js 命令行应用

访问GitHub主页

共338Star

详细介绍

is-up Build Status

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

Install

$ npm install --save is-up

Usage

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

isUp('sindresorhus.com').then(up => {
    console.log(up);
    //=> true
});

Related

License

MIT © Sindre Sorhus

推荐源码