# textcounter

> Counts the characters of a textarea element bases on the mexlength attribute and shows them to the user.

Latest version **1.0.2** (published 2015-04-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install textcounter
pnpm add textcounter
yarn add textcounter
bun add textcounter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-04-13 |
| First published | 2015-04-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Dirk Diebel |
| Maintainers | ddiebel |
| Keywords | jquery-plugin, ecosystem:jquery |

## Links

- npm: https://www.npmjs.com/package/textcounter
- Repository: https://github.com/ddiebel/jquery-textcounter
- Issues: https://github.com/ddiebel/jquery-textcounter/issues
- npm.io page: https://npm.io/package/textcounter

## Alternatives

- [gamedig](https://npm.io/package/gamedig.md) — 29.3K weekly downloads
- [join-monster](https://npm.io/package/join-monster.md) — 12.8K weekly downloads
- [masked](https://npm.io/package/masked.md) — 5.5K weekly downloads
- [@comunica/actor-query-process-explain-logical](https://npm.io/package/@comunica/actor-query-process-explain-logical.md) — 4.7K weekly downloads
- [@veracity/vui](https://npm.io/package/@veracity/vui.md) — 4.6K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2015-04-13
- 1.0.1 — 2015-04-03

## README

jquery-textcounter
==================

Counts typed characters in a textarea and shows how many characters are left until the maximum allowed characters are reached.

###How to use:
````html
<script>
        jQuery(document).ready(function($) {
            $('#comment').countChars({counterElement : "#textareacount b"});
        });
    </script>
</head>
<body>

        <form name="test">
            <textarea maxlength="255" placeholder="" id="comment"></textarea>
            <span id="textareacount">left: <b>255</b></span>
        </form>

<script type="text/javascript" src="jquery.textcounter.min.js"></script>

</body>
````

---
_Source: https://npm.io/package/textcounter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
