Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/afeiship/is-alive

Check url if is alive.
https://github.com/afeiship/is-alive

alive gateway head http https network site url

Last synced: 20 days ago
JSON representation

Check url if is alive.

Awesome Lists containing this project

README

        

# is-alive
> Check url if is alive.

[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]

## installation
```shell
npm install @jswork/is-alive
```

## usage
```js
import isAlive from '@jswork/is-alive';

const { code, success } = await isAlive('https://www.baidu.com');
```

## license
Code released under [the MIT license](https://github.com/afeiship/is-alive/blob/master/LICENSE.txt).

[version-image]: https://img.shields.io/npm/v/@jswork/is-alive
[version-url]: https://npmjs.org/package/@jswork/is-alive

[license-image]: https://img.shields.io/npm/l/@jswork/is-alive
[license-url]: https://github.com/afeiship/is-alive/blob/master/LICENSE.txt

[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/is-alive
[size-url]: https://github.com/afeiship/is-alive/blob/master/dist/is-alive.min.js

[download-image]: https://img.shields.io/npm/dm/@jswork/is-alive
[download-url]: https://www.npmjs.com/package/@jswork/is-alive