<commit_before># buddy-browser

Browser reporter for Buddy.

## Example

You pass the `buddy-browser` library as your reporter:

```js
var spec   = require('test-buddy')()
var assert = require('assert')

spec('Your thing', function(it) {
  it('Should do X', function() {
    assert.strictEqual(f(x), g(x))
  })
})

spec.run(require('buddy-browser')())
```

And get back this deliciously rich output!


## Installing

Just grab it from NPM:

    $ npm install buddy-browser
    
## Licence

MIT/X11. IOW you just do whatever the fuck you want to ;3<commit_msg>Updates README.<commit_after># buddy-browser

Browser reporter for Buddy.

## Example

You pass the `buddy-browser` library as your reporter:

```js
var spec   = require('test-buddy')()

spec('Your thing', function(it) {
  it('Should pass', function() {

  })

  it('Should fail', function() {
    throw new Error('boo')
  })
})

spec.run(require('buddy-browser')())
```

Then point the server to your file:

```bash
$ buddy-browser serve your-file.js
```

And get back this deliciously rich output!

![The output of Buddy-browser](example.png)


## Installing

Just grab it from NPM:

    $ npm install -g buddy-browser
    
## Licence

MIT/X11. IOW you just do whatever the fuck you want to ;3
{'fraction_non_alphanumeric': 0.14035087719298245, 'fraction_numerical': 0.004784688995215311, 'mean_word_length': 3.826923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': 2, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3449200', 'n_tokens_mistral': 431, 'n_tokens_neox': 411, 'n_words': 138}