Comparing version 0.0.7 to 0.0.8
// 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23342
83