Socket
Book a DemoInstallSign in
Socket

@copart/ui-analytics

Package Overview
Dependencies
Maintainers
19
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@copart/ui-analytics

Analytics package for UI

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
25
108.33%
Maintainers
19
Weekly downloads
 
Created
Source

@copart/ui-analytics

Analytics package for UI

https://github.com/copartit/ui-analytics

Install

npm install @copart/ui-analytics

or

yard add @copart/ui-analytics

Import

import UiAnalytics from '@copart/ui-analytics';

Usage

  • Setting window.disableUiAnalytics to false, will disable all analytics

Notes

  • To test package locally inside another application preform the following:
    • To Link:
      • In root of npm repo (this repo) run 'npm link'
      • In root of application to test in run 'npm link @copart/ui-analytics'
    • To Unlink:
      • In root of application to test in run 'npm unlink @copart/ui-analytics'
      • In root of npm repo (this repo) run 'npm unlink'
  • Use 'npm run prepublish' to ensure build completes and correct tarball contents; tarball should ONLY include package.json, README.md, dist/cjs/index.js, dist/esm/index.js
  • core-js version should match in package.json and babel.config.js
    • babel is configured to auto import only needed polyfills for es5 at build time, no need to import core-js in your src

FAQs

Package last updated on 27 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts