npm

Need private packages and team management tools?Check out npm Orgs. »

is-blocked

2.0.0 • Public • Published

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

install

npm i is-blocked

Downloadsweekly downloads

4

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability