JSPM

  • Created
  • Published
  • Downloads 1386
  • Score
    100M100P100Q111725F
  • 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 
  • makes events + users (and writes them to CSVs)
npx make-mp-data --numUsers 100 --numEvents 10000 --days 90 --format json
  • makes ~10k events + 100 users from the last 90 days (but writes JSON)
npx make-mp-data --complex
  • makes events + users + groups + scd + lookup tables
  • this includes every type of data that mixpanel supports
npx make-mp-data --token 1234
  • makes events + users (and send them to mixpanel)
npx make-mp-data --help
  • explains all the options you can specify

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 ./models/ for a few dataModel.js examples...