is-up - 检查一个网站是否当机
is-up - 检查一个网站是否当机
Node.js 命令行应用
共338Star
详细介绍
is-up
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
- is-up-cli - CLI for this module
License
MIT © Sindre Sorhus