<commit_before># contentmeter [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]
Simple bar showing progress while reading a content. It supports whole pages and scrollable containers.

[DEMO](https://bezet.github.io/contentmeter/)

## Installation

```bash
npm i @bezet/contentmeter
```


## Usage
### Add styles
`<link rel="stylesheet" type="text/css" href="dist/contentmeter.css">`

### Add JS
Either
```
import Contentmeter from '@bezet/contentmeter';
const myContentmeter = new Contentmeter();
```

or
```
<script type="text/javascript" src="dist/contentmeter.js"></script>
<script type="text/javascript">
    var myContentmeter = new Contentmeter();
</script>
```

## License

MIT © [bezet](github.com/bezet)


[npm-image]: https://badge.fury.io/js/%40bezet%2Fcontentmeter.svg
[npm-url]: https://npmjs.org/package/@bezet/contentmeter
[daviddm-image]: https://david-dm.org/bezet/contentmeter.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/bezet/contentmeter<commit_msg>Change name<commit_after># contentmeter [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]
Simple bar showing progress while reading a content. It supports whole pages and scrollable containers.

[DEMO](https://bezet.github.io/contentmeter/)

## Installation

```bash
npm i @bezet/contentmeter
```


## Usage
### Add styles
`<link rel="stylesheet" type="text/css" href="dist/contentmeter.css">`

### Add JS
Either
```
import Contentmeter from '@bezet/contentmeter';
const myContentmeter = new Contentmeter();
```

or
```
<script type="text/javascript" src="dist/contentmeter.js"></script>
<script type="text/javascript">
    var myContentmeter = new Contentmeter();
</script>
```

## License

MIT © [<NAME>](github.com/bezet)


[npm-image]: https://badge.fury.io/js/%40bezet%2Fcontentmeter.svg
[npm-url]: https://npmjs.org/package/@bezet/contentmeter
[daviddm-image]: https://david-dm.org/bezet/contentmeter.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/bezet/contentmeter
{'fraction_non_alphanumeric': 0.17932386085252328, 'fraction_numerical': 0.002939735423811857, 'mean_word_length': 5.76158940397351, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 10, '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': '3326268', 'n_tokens_mistral': 757, 'n_tokens_neox': 675, 'n_words': 136}