zz_

readme.md

thoward37@gmail.com/push-test-1791933020200 / readme.md @ 3ced6417 Download
 # is-up
 
 > Check whether a website is up or down using the [isitup.org](https://isitup.org) API
 
 ## Install
 
-```
-$ npm install is-up
+```sh
+npm install is-up
 ```
 
 ## Usage
 
 ```js
-const isUp = require('is-up');
+import isUp from 'is-up';
 
-(async () => {
- console.log(await isUp('https://sindresorhus.com'));
- //=> true
-})();
+console.log(await isUp('https://sindresorhus.com'));
+//=> true
 ```
 
 ## Related
 
 - [is-up-cli](https://github.com/sindresorhus/is-up-cli) - CLI for this module