Catalog npm
Back to packageRELEASE DETAILS

1.3.0

npm

@0no-co/mixpanel-micro

Tiny implementation of the Mixpanel browser API for modern browsers

Published6 Jul 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-7A2sYwJK52ITIWM6IzO7pnASAPX/ZAztIv3t9WPlmf6Uq8K94Kbn1dj7aZUY/r8HZ+5phdFtdQVpXJdI1ZCawg==",
  "shasum": "207f24e743ac9af741cc0a85294a7ef247d82faa",
  "tarball": "https://registry.npmjs.org/@0no-co/mixpanel-micro/-/mixpanel-micro-1.3.0.tgz",
  "fileCount": 12,
  "unpackedSize": 99701,
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIE5mCY/rCXnuTbG3/ON80+9VE9w/LgjM6vUynCmf9Y9nAiBLXrcP6cI68sQlub1F86bWkJthRR/z9CTHj2K2yTAXzw=="
    }
  ]
}

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:cc540db3fa92d87202e0ffbf0fa633652da55dc246beac48c38dbb3117f65c5e

Other collected versions

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