<commit_before>remainingChars
==============

jQuery plugin to add remaining characters text to textbox and input elements.

Valid option parameters:
------------------------
* statustext: The text to show in the status area {optional} If no text is passed the default message is taken. <br/>**IMPORTANT:** The statustext string must include a *%d* for being replaced with the count of remaining characters (e.g. "Remaining: %d").
    <commit_msg>better readme<commit_after>jquery-remainingChars
=====================

jQuery plugin to add remaining characters text to textbox and input elements.

Usage:
------
The easiest way to use the plugin would be like:

```html
<input type="text" class=".remchars" />
<script>
    $('.remchars').remainingChars();
</script>
```

With options it would be:

```html
<input type="text" class=".remchars" />
<script>
    $('.remchars').remainingChars({
        statustext: 'My remaining chars: %d'
    });
</script>
```

Valid option parameters:
------------------------
* statustext: The text to show in the status area {optional} If no text is passed the default message is taken.  
**IMPORTANT:** The statustext string must include a *%d* for being replaced with the count of remaining characters (e.g. "Remaining: %d").

{'fraction_non_alphanumeric': 0.1735340729001585, 'fraction_numerical': 0.0, 'mean_word_length': 3.660516605166052, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2382581', 'n_tokens_mistral': 351, 'n_tokens_neox': 337, 'n_words': 148}