<commit_before># sneeze

Easily join SWIM networks. See http://www.cs.cornell.edu/~asdas/research/dsn02-SWIM.pdf.

## Quick Example

The *base* node serves as the well-known starting point. As other
nodes join and leave all nodes eventually learn about them

``
// base.js - start first
var base = require('sneeze')({base:true})
base.join()

// nodeA.js - start next
var nodeA = require('sneeze')()
nodeA.on('add',console.log)
nodeA.on('remove',console.log)
nodeA.join({name: 'A'}) // put any data you like in here

// nodeB.js - start last, then stop nodeA
var nodeB = require('sneeze')()
nodeB.on('add',console.log)
nodeB.on('remove',console.log)
nodeB.join({name: 'B'})
``




<commit_msg>fix readme<commit_after># sneeze

Easily join SWIM networks. See http://www.cs.cornell.edu/~asdas/research/dsn02-SWIM.pdf.

## Quick Example

The *base* node serves as the well-known starting point. As other
nodes join and leave all nodes eventually learn about them

```js
// base.js - start first
var base = require('sneeze')({base:true})
base.join()

// nodeA.js - start next
var nodeA = require('sneeze')()
nodeA.on('add',console.log)
nodeA.on('remove',console.log)
nodeA.join({name: 'A'}) // put any data you like in here

// nodeB.js - start last, then stop nodeA
var nodeB = require('sneeze')()
nodeB.on('add',console.log)
nodeB.on('remove',console.log)
nodeB.join({name: 'B'})
```

## Questions?

[@rjrodger](https://twitter.com/rjrodger)






{'fraction_non_alphanumeric': 0.1682825484764543, 'fraction_numerical': 0.002770083102493075, 'mean_word_length': 4.3125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '3968148', 'n_tokens_mistral': 535, 'n_tokens_neox': 521, 'n_words': 140}