uptimerobot
v1.0.1
Published
Add uptime monitoring for given domains
Downloads
8
Maintainers
Readme
uptimerobot
Node API client and CLI for UptimeRobot
Node wrapper over the UptimeRobot API.
Installation
npm install --save uptimerobot
Usage
const uptimerobot = require('uptimerobot')
const urls = ['http://example.com', 'http://two.example.com']
const config = {
apiToken: // some token
}
uptimerobot.monitor(urls, config)
.then(res => console.log(res))
.catch(error => console.log(error))
CLI
uptimerobot -h
#=> uptimerobot [command] [url [url...]]
uptimerobot monitor http://example.com http://google.com
#=> JSON result
Author
© 2016 Tom Vincent [email protected] (https://tlvince.com)
License
Released under the MIT license.