<commit_before># track-event

<!-- [![build status][1]][2] --> [![dependency status][3]][4]

<!-- [![browser support][5]][6] -->

Track events to multiple destinations

## Example (mixpanel)

```js
var Client = require("track-event/client")
var track = require("track-event/track")

var client = Client({
    mixpanel: {
        token: "mixpanel_key"
    }
})

track(client, "event name", {
    "some properties": "go here"
}, function (err, res) {
    /* ... */<commit_msg>lol github parser fail<commit_after># track-event

<!-- [![build status][1]][2] -->

[![dependency status][3]][4]

<!-- [![browser support][5]][6] -->

Track events to multiple destinations

## Example (mixpanel)

```js
var Client = require("track-event/client")
var track = require("track-event/track")

var client = Client({
    mixpanel: {
        token: "mixpanel_key"
    }
})

track(client, "event name", {
    "some properties": "go here"
}, function (err, res) {
    /* ... */
{'fraction_non_alphanumeric': 0.21294363256784968, 'fraction_numerical': 0.012526096033402923, 'mean_word_length': 3.5450236966824646, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2028175', 'n_tokens_mistral': 326, 'n_tokens_neox': 318, 'n_words': 79}