0.0.2 • Published 11 years ago

monitly v0.0.2

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

monitly

A client-side wrapper for the Monit.ly API.

Build Status NPM version Dependency Status NPM

Installation

npm install monitly

Example

var monitly = require('monitly')({
  host: 'host',
  user: 'user',
  pass: 'pass'
});

monitly.checks.list(function(err, checks) {
  // ...
});

API

  • checks

    • .create(data, callback)
    • .list(callback)
    • .retrieve(id, callback)
    • .update(id, data, callback)
    • .subscribe(id, callback)
  • events

    • .create(check_id, data, callback)
    • .list(check_id, callback)

Contributing

Fork this repo, commit your changes and ensure the lint and test steps before submitting a pull request by running the following:

$ npm run-script lint
$ npm test

License

            DO WHATEVER THE FUCK YOU WANT, PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

            0. You just DO WHATEVER THE FUCK YOU WANT.
0.0.2

11 years ago

0.0.1

11 years ago