isitup

1.1.0 • Public • Published

Build Status Coverage Status npm version dependencies devDependencies

isitup

isitup is a simple and small client for isitup website to check website status.

Installation

Clone the repo or install it from npm:

npm install --save isitup

Usage

import isitup from 'isitup'; // or require it
 
isitup('github.com').then(data => {
  // Do what you want with `data`!
  // data is an object with the following keys:
  // ['domain', 'port', 'status_code', 'response_ip', 'response_code', 'response_time']
}).catch(err => {
  // Oops! Errors! :(
});

Tests

Run the tests with following command:

npm test

Ideas?

Just fill an issue and describe it. I'll check it ASAP. 😁

Contribution

You can fork the repository, improve or fix it and then send the pull requests back if you want to see them here. I really appreciate that. ❤️

Remember to write tests for your code. Execute the tests by running the following command and fix the errors if you get any.

npm test

Dependents (0)

Package Sidebar

Install

npm i isitup

Weekly Downloads

1

Version

1.1.0

License

MIT

Last publish

Collaborators

  • mamal72