# react-ad-block-detect

> A React component that renders its children if an ad blocker is detected

Latest version **1.0.1** (published 2017-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-ad-block-detect
pnpm add react-ad-block-detect
yarn add react-ad-block-detect
bun add react-ad-block-detect
```

## Health

**Score 30/100 (F)** — status: abandoned.

Positive: no vulnerabilities; high maintenance score.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-03-14 |
| First published | 2017-03-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | https://github.com/grxy |
| Maintainers | grxy |
| Keywords | react, adblock, ad-block, ad-block-detect, adblockdetect, adblock-detect, ad, block, detect, ad blocker |

## Links

- npm: https://www.npmjs.com/package/react-ad-block-detect
- Repository: https://github.com/grxy/react-ad-block-detect
- Homepage: https://github.com/grxy/react-ad-block-detect#readme
- Issues: https://github.com/grxy/react-ad-block-detect/issues
- npm.io page: https://npm.io/package/react-ad-block-detect

## Dependencies (2)

- [react](https://npm.io/package/react.md) ^15.4.2
- [adblockdetect](https://npm.io/package/adblockdetect.md) ^0.0.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2017-03-14
- 1.0.0 — 2017-03-12

## README

# react-ad-block-detect
A React component that renders its children if an ad blocker is detected

[![npm version](https://img.shields.io/npm/v/react-ad-block-detect.svg?style=flat)](https://www.npmjs.com/package/react-ad-block-detect)
[![Travis Build Status](https://travis-ci.org/grxy/react-ad-block-detect.svg?branch=master)](https://travis-ci.org/grxy/react-ad-block-detect)
[![Circle Build Status](https://circleci.com/gh/grxy/react-ad-block-detect.svg?style=shield)](https://circleci.com/gh/grxy/react-ad-block-detect)
[![Coverage Status](https://coveralls.io/repos/github/grxy/react-ad-block-detect/badge.svg?branch=master)](https://coveralls.io/github/grxy/react-ad-block-detect?branch=master)
[![dependencies Status](https://david-dm.org/grxy/react-ad-block-detect/status.svg)](https://david-dm.org/grxy/react-ad-block-detect)
[![devDependencies Status](https://david-dm.org/grxy/react-ad-block-detect/dev-status.svg)](https://david-dm.org/grxy/react-ad-block-detect?type=dev)

## Installation

    npm install react-ad-block-detect

## Usage

    import React, { Component } from 'react';
    import AdBlockDetect from 'react-ad-block-detect';

    class MyComponent extends Component {
        render() {
            return (
                <AdBlockDetect>
                    <p>Show this if an ad blocker has been enabled.</p>
                </AdBlockDetect>
            );
        }
    }

---
_Source: https://npm.io/package/react-ad-block-detect · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
