JSPM

  • Created
  • Published
  • Downloads 1492
  • Score
    100M100P100Q111432F
  • License ISC

builds all mixpanel primitives for a given project

Package Exports

  • make-mp-data
  • make-mp-data/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (make-mp-data) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Make Mixpanel Data

a quick and dirty CLI in node.js to generate fake data for mixpanel.

tldr;

npx make-mp-data --token 1234
  • makes events, users, groups (sends them to your project)
  • makes lookup tables and SCD type 2 exported as CSVs

(note: if you want group analytics, add a company_id group key to your project before running)

customization

npx make-mp-data [dataModel.js] [options]

ex.

npx make-mp-data ecommSpec.js --token 1234 --numDays 30 --numUsers 1000 --numEvents 1000000

see --help for a full list of options

see ./examples/ for a few `dataModel.js`` examples