Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

138 B
Raw Blame
export function checkNPM(document) {
  if (typeof document === 'object') {
    return window.plausible?.s === 'npm'
  }

  return false
}