Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ping-host

Browser ping host tool.

Usage

$ yarn add ping-host
import ping from 'ping-host';

await ping('taobao.com');
await ping('github.com', 'fluidicon.png');
await ping('github.com', 5000);
await ping('github.com', 'fluidicon.png', 3000);

or

<script src="https://unpkg.com/ping-host"></script>
<script>
const ret = await ping('taobao.com');
// or
ping('taobao.com').then(ret => console.log(ret));
</script>

About

Browser ping host tool.

Resources

License

Releases

No releases published

Packages

No packages published