<commit_before>## Jupiter JS

[![Build Status](https://travis-ci.org/mbjordan/JupiterJS.svg?branch=master)](https://travis-ci.org/mbjordan/JupiterJS)

Jupiter is a JavaScript Publish/Subscribe library that aims to be lightweight, dependency-free, and simple to use. Drop it into any project to quickly get up and running with a super sweet event-based model.

Here's an example 4 u:

**foo.js**

```javascript
// Set the message `someMessage` as a variable.
var someMessage = jupiter("someMessage");

// Utilize the variable to subscribe a function...
someMessage.sub(function(arg){
    console.log(arg);
});

```

**bar.js**

```javascript
// Again, set the message `someMessage` as a variable.
var someMessage = jupiter("someMessage");

// Utilize the variable to publish to a function...
someMessage.pub("Console should log this message");
```

For more examples, see the [examples page](https://github.com/mbjordan/JupiterJS/wiki/Examples)<commit_msg>Updated examples link in readme<commit_after>## Jupiter JS

[![Build Status](https://travis-ci.org/mbjordan/JupiterJS.svg?branch=master)](https://travis-ci.org/mbjordan/JupiterJS)

Jupiter is a JavaScript Publish/Subscribe library that aims to be lightweight, dependency-free, and simple to use. Drop it into any project to quickly get up and running with a super sweet event-based model.

Here's an example 4 u:

**foo.js**

```javascript
// Set the message `someMessage` as a variable.
var someMessage = jupiter("someMessage");

// Utilize the variable to subscribe a function...
someMessage.sub(function(arg){
    console.log(arg);
});

```

**bar.js**

```javascript
// Again, set the message `someMessage` as a variable.
var someMessage = jupiter("someMessage");

// Utilize the variable to publish to a function...
someMessage.pub("Console should log this message");
```

For more examples, see the [examples page](http://mbjordan.github.io/JupiterJS/examples.html)
{'fraction_non_alphanumeric': 0.1308411214953271, 'fraction_numerical': 0.0010384215991692627, 'mean_word_length': 4.718100890207715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '4058407', 'n_tokens_mistral': 592, 'n_tokens_neox': 564, 'n_words': 197}