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

mixpanel

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mixpanel - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

7

example.js
// grab the Mixpanel factory
var Mixpanel = require('../lib/mixpanel-node');
var Mixpanel = require('./lib/mixpanel-node');
// create an instance of the mixpanel client
var mixpanel = Mixpanel.init('6fd9434dba686db2d1ab66b4462a3a67');
var mixpanel = Mixpanel.init('962dbca1bbc54701d402c94d65b4a20e');
mixpanel.set_config({ debug: true });

@@ -36,4 +36,3 @@

// increment multiple properties
mixpanel.people.increment("billybob", {"points": 10, "games_played":
1});
mixpanel.people.increment("billybob", {"points": 10, "games_played": 1});

@@ -40,0 +39,0 @@ // delete a user

@@ -98,2 +98,3 @@ /*

properties.time = get_unixtime();
properties.mp_lib = "node";

@@ -100,0 +101,0 @@ var data = {

@@ -5,3 +5,3 @@ {

"keywords": ["mixpanel", "analytics", "api", "stats"],
"version": "0.0.7",
"version": "0.0.8",
"homepage": "https://github.com/carlsverre/mixpanel-node",

@@ -8,0 +8,0 @@ "author": "Carl Sverre",

@@ -16,3 +16,3 @@ Mixpanel-node

// grab the Mixpanel factory
var Mixpanel = require('../lib/mixpanel-node');
var Mixpanel = require('mixpanel');

@@ -62,3 +62,3 @@ // create an instance of the mixpanel client

# in the mixpanel-node directory
# in the mixpanel directory
npm install

@@ -75,2 +75,7 @@ npm test

Contributions from:
- [Andres Gottlieb](https://github.com/andresgottlieb)
- [Ken Perkins](https://github.com/kenperkins)
- [Nathan Rajlich](https://github.com/TooTallNate)
License

@@ -77,0 +82,0 @@ -------------------

Sorry, the diff of this file is not supported yet

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