monocle-isup

0.0.1 • Public • Published

monocle-isup

is-up module checks whether a website is up or down https://github.com/sindresorhus/is-up

monocle-isup monoclize is-up

Install

npm install --save monocle-isup

Example

Instead of calling is-up asynchroniously

var isUp = require('is-up');
isUp('sindresorhus.com', function (err, up) {
    console.log(up);
    //=> true
});

use monocle-isup inside your monocle project

var monocle = require('monocle-js'),
    isUp = require("monocle-isup");
 
monocle.run(function*(){
    var data = yield isUp('sindresorhus.com');
    console.log(data);
    // => true
});

Package Sidebar

Install

npm i monocle-isup

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • urucas
  • vrunoa