<commit_before># examplr

Build and demo code examples.

[![Travis build status](http://img.shields.io/travis/thejameskyle/examplr.svg?style=flat)](https://travis-ci.org/thejameskyle/examplr)
[![Code Climate](https://codeclimate.com/github/thejameskyle/examplr/badges/gpa.svg)](https://codeclimate.com/github/thejameskyle/examplr)
[![Test Coverage](https://codeclimate.com/github/thejameskyle/examplr/badges/coverage.svg)](https://codeclimate.com/github/thejameskyle/examplr)
[![Dependency Status](https://david-dm.org/thejameskyle/examplr.svg)](https://david-dm.org/thejameskyle/examplr)
[![devDependency Status](https://david-dm.org/thejameskyle/examplr/dev-status.svg)](https://david-dm.org/thejameskyle/examplr#info=devDependencies)

## Basic Usage

```js
import examplr from 'examplr';
const example = examplr();

example('My Cool Example', el => {
  el.textContent = 'Hello World!';
});
```<commit_msg>Add more to README<commit_after># examplr

Build and demo code examples.

[![Travis build status](http://img.shields.io/travis/thejameskyle/examplr.svg?style=flat)](https://travis-ci.org/thejameskyle/examplr)
[![Code Climate](https://codeclimate.com/github/thejameskyle/examplr/badges/gpa.svg)](https://codeclimate.com/github/thejameskyle/examplr)
[![Test Coverage](https://codeclimate.com/github/thejameskyle/examplr/badges/coverage.svg)](https://codeclimate.com/github/thejameskyle/examplr)
[![Dependency Status](https://david-dm.org/thejameskyle/examplr.svg)](https://david-dm.org/thejameskyle/examplr)
[![devDependency Status](https://david-dm.org/thejameskyle/examplr/dev-status.svg)](https://david-dm.org/thejameskyle/examplr#info=devDependencies)

## Basic Usage

```html
<!-- examples.html -->
<div id="examplr"></div>
<script src="example-bundle.js"></script>
```

```js
// examples.js
import examplr from 'examplr';
const example = examplr();

example('My Cool Example', el => {
  el.textContent = 'Hello World!';
});
```

```shell
$ browserify examples.js -o example-bundle.js --debug
$ open examples.html
```
{'fraction_non_alphanumeric': 0.1893491124260355, 'fraction_numerical': 0.0, 'mean_word_length': 5.972508591065292, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 10, 'https://': 18, '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': '548674', 'n_tokens_mistral': 807, 'n_tokens_neox': 763, 'n_words': 88}