is-blocked
v2.0.0
Published
Check if the site is blocked from the user
Downloads
3
Readme
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/[email protected]/dist/is-blocked.min.js"></script>