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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    0
  • 1.0.0
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i is-blocked

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

2.57 kB

Total Files

6

Last publish

Collaborators

  • alik0211