Skip to content

mamal72/isitup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🌏 A simple client for isitup.org website

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published