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
 
 
 
 
 
 
 
 
 
 

Is blocked?

Tiny library based on fetch to check sites for blocking.

Usage

isBlocked('https://t.me').then(() => {
  // Do something if the site is blocked
});

Install

Module

Using npm:

npm i is-blocked

Or yarn:

yarn add is-blocked

CDN

<script src="https://cdn.jsdelivr.net/npm/is-blocked@2.0.0/dist/is-blocked.min.js"></script>

Cases

About

Tiny library based on fetch to check sites for blocking

Resources

License

Packages

No packages published