Nondigestible Purple Mayonnaise

npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

is-tracking-domain

1.1.7 • Public • Published

is-tracking-domain

Last version Build Status Coverage Status Dependency status Dev Dependencies Status NPM Status Donate

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

install

npm i is-tracking-domain

Downloadsweekly downloads

12,866

version

1.1.7

license

MIT

homepage

nicedoc.io

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability