<commit_before># BitField

## Usage

```js
bin/bitfield.js test/alpha.json > alpha.svg
```<commit_msg>Added example<commit_after># BitField

## Usage

```js
bin/bitfield.js test/alpha.json > alpha.svg
```

### alpha.json

```json
[
    { "name": "IPO",   "bits": 8, "attr": "RO" },
    {                  "bits": 7 },
    { "name": "BRK",   "bits": 5, "attr": "RW" },
    { "name": "CPK",   "bits": 1 },
    { "name": "Clear", "bits": 3 },
    { "bits": 8 }
]
```
### alpha.svg

![Heat Sink](https://rawgit.com/drom/bitfield/master/test/alpha.svg)
{'fraction_non_alphanumeric': 0.2522851919561243, 'fraction_numerical': 0.010968921389396709, 'mean_word_length': 2.8865248226950353, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '3327243', 'n_tokens_mistral': 234, 'n_tokens_neox': 217, 'n_words': 44}