Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/afeiship/is-alive
- Owner: afeiship
- License: mit
- Created: 2019-02-17T12:11:32.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T04:47:33.000Z (over 2 years ago)
- Last Synced: 2024-04-26T03:04:24.047Z (7 months ago)
- Topics: alive, gateway, head, http, https, network, site, url
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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