Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0no-co/mixpanel-micro

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0no-co/mixpanel-micro

Tiny implementation of the Mixpanel browser API for modern browsers

  • 1.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
44
increased by175%
Maintainers
2
Weekly downloads
 
Created
Source

@0no-co/mixpanel-micro

Tiny implementation of the Mixpanel browser API

Bundlesize

@0no-co/mixpanel-micro is a Mixpanel utility library, based on mixpanel-lite, which targets modern browsers and makes use of the Beacon API if it's available.

It provides ESM exports of the Mixpanel Browser API and unlike mixpanel-lite it:

  • Makes use of the Beacon API if it's available
  • Falls back on the Fetch API with keepalive: true set if the Beacon API is unavailable
  • Respects navigator.onLine and the online event, which are heuristics but have wide cross-browser support
  • Uses the visibilitychange event to send events before a tab closes
  • Does not implement offline storage for the event queue, and instead uses a best effort approach to sending events

FAQs

Package last updated on 07 Jul 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc