Catalog npm
Back to packageRELEASE DETAILS

1.1.2

npm

@0no-co/mixpanel-micro

Tiny implementation of the Mixpanel browser API for modern browsers

Published12 Jun 2023
Direct dependencies15
Transitive dependenciesNot calculated

README

Current package documentation

@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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 15

Native requirements
15 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@babel/core
Environment
{
  "local_name": "@babel/core",
  "alias": false,
  "peer_metadata": null
}
^7.21.8development
@babel/plugin-transform-block-scoping
Environment
{
  "local_name": "@babel/plugin-transform-block-scoping",
  "alias": false,
  "peer_metadata": null
}
^7.21.0development
@babel/plugin-transform-typescript
Environment
{
  "local_name": "@babel/plugin-transform-typescript",
  "alias": false,
  "peer_metadata": null
}
^7.21.3development
@rollup/plugin-babel
Environment
{
  "local_name": "@rollup/plugin-babel",
  "alias": false,
  "peer_metadata": null
}
^6.0.3development
@rollup/plugin-commonjs
Environment
{
  "local_name": "@rollup/plugin-commonjs",
  "alias": false,
  "peer_metadata": null
}
^25.0.0development
@rollup/plugin-node-resolve
Environment
{
  "local_name": "@rollup/plugin-node-resolve",
  "alias": false,
  "peer_metadata": null
}
^15.0.2development
@rollup/plugin-terser
Environment
{
  "local_name": "@rollup/plugin-terser",
  "alias": false,
  "peer_metadata": null
}
^0.4.3development
lint-staged
Environment
{
  "local_name": "lint-staged",
  "alias": false,
  "peer_metadata": null
}
^12.3.7development
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^4.1.5development
prettier
Environment
{
  "local_name": "prettier",
  "alias": false,
  "peer_metadata": null
}
^2.6.0development
rollup
Environment
{
  "local_name": "rollup",
  "alias": false,
  "peer_metadata": null
}
^3.23.0development
rollup-plugin-cjs-check
Environment
{
  "local_name": "rollup-plugin-cjs-check",
  "alias": false,
  "peer_metadata": null
}
^1.0.2development
rollup-plugin-dts
Environment
{
  "local_name": "rollup-plugin-dts",
  "alias": false,
  "peer_metadata": null
}
^5.3.0development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^5.0.4development
vitest
Environment
{
  "local_name": "vitest",
  "alias": false,
  "peer_metadata": null
}
^0.32.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-dtugkwNezxDzcv1B4cXWRnBcLAt1QCphdxR/yTNRGtZewrKoTbJMghiRCZr1PyAsVogxRdU1YCKHS9c8w065YA==",
  "shasum": "91c9bb5abc621d22704d79494557ac074a1ff0a0",
  "tarball": "https://registry.npmjs.org/@0no-co/mixpanel-micro/-/mixpanel-micro-1.1.2.tgz",
  "fileCount": 12,
  "unpackedSize": 96422,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQDgRPqgt7jkAjovqZazufZjpSx4cneqOn0lnPVAebGTRwIhANb5mScV9+yB26PsPSk1u0CPrDFr3wIw6rgMoSv1TV2k"
    }
  ]
}

Repository

PENDING
0no-co/mixpanel-micro

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:14 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:721af72fda4ddc43fd4e40114e253ac20e469963c4a34facbbcae01b06692b7e

Other collected versions

1.3.17 Jul1.3.06 Jul1.2.03 Jul1.1.112 Jun1.1.012 Jun1.0.012 JunView all collected versions →