Simple library for detecting ad blocker presence on web page
npm install adblock-detectorMicro library for detecting adblock presense in user browser.
Detection on server side is not supported. Please use library only on client side.
!npm version
!package size minified

!total downloads
!total downloads per year
!total downloads per week
!total downloads per month
#### Via NPM
```
npm i adblock-detector
#### Via Yarn
``
yarn add adblock-detector
`javascript
import AdblockDetector from 'adblock-detector';
const adbDetector = new AdblockDetector()
const userHasAdblock = adbDetector.detect(); // true if user has it false if not
``