<commit_before># dom-stats

[![Build Status](https://secure.travis-ci.org/johnotander/dom-stats.png?branch=master)](https://travis-ci.org/johnotander/dom-stats)

_Currently under development_

Parse and return statistics for an HTML page.

## Installation

```bash
npm install --save dom-stats
```

## Usage

```javascript
var domStats = require('dom-stats');

domStats('google.com', function(err, stats) {
  console.log(stats);
});
```

## License

MIT

## Thanks to the following<commit_msg>Update documentation<commit_after># dom-stats

[![Build Status](https://secure.travis-ci.org/johnotander/dom-stats.png?branch=master)](https://travis-ci.org/johnotander/dom-stats)

_Currently under development_

Parse and return statistics for an HTML page.

## Installation

```bash
npm install --save dom-stats
```

## Usage

```javascript
var domStats = require('dom-stats');

domStats('google.com', function(err, stats) {
  console.log(stats); // => { p: 21, a: 36 , ... }
});
```

## License

MIT

## Thanks to the following
{'fraction_non_alphanumeric': 0.17123287671232876, 'fraction_numerical': 0.003913894324853229, 'mean_word_length': 4.715083798882682, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, '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': '3643763', 'n_tokens_mistral': 359, 'n_tokens_neox': 340, 'n_words': 76}