Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alik0211/is-blocked

Tiny library based on fetch to check sites for blocking
https://github.com/alik0211/is-blocked

Last synced: 7 days ago
JSON representation

Tiny library based on fetch to check sites for blocking

Awesome Lists containing this project

README

        

# Is blocked?

Tiny library based on fetch to check sites for blocking.

## Usage

```js
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

```html

```

## Cases

- [Replace blocked Telegram links](https://alik0211.com/blog/replace-blocked-telegram-links/)