Skip to content

dashdashzako/dnt

Repository files navigation

dnt

codecov npm version License type

Browser detection for the "Do Not Track" flag.

npm i @dashdashzako/dnt

Usage

import { isDNTEnabled } from 'dnt';

const doNotTrack = isDNTEnabled(window);

License

MIT