is-tracking-domain
v1.1.8
Published
Determinate if a domain is a tracker
Downloads
58
Maintainers
Readme
is-tracking-domain
Determinate if a domain is a tracker. Based on Tracking Protection by Disconnect.
Install
$ npm install is-tracking-domain --save
Usage
const isTrackingDomain = require('is-tracking-domain')
isTrackingDomain('doubleclick.net') // => true
API
isTrackingDomain(domain, options)
domain
Required
Type: string
The domain to be validated.
options
exclude
Type: array
Default: []
A list of domains to be considered as a whitelist.
License
is-tracking-domain © Kiko Beats, released under the MIT License. Authored and maintained by Kiko Beats with help from contributors.
kikobeats.com · GitHub @Kiko Beats · Twitter @Kikobeats