Countable is a JavaScript function to add live paragraph-, word- and character-counting to an HTML element. Countable is a zero-dependency library and comes in at 1KB when minified and gzipped.

Countable offers easy-to-use methods you can use in your project. Countable.live() and Countable.once() accept one or more HTML elements and a callback that receives one parameter — holding all counted values — and this bound to the relevant element.

To enable full live-counting on an element, call Countable.live().

countable-js

[gpp_button color=”blue” url=”http://sachaschmid.ch/Countable/” title=”free fonts” icon_left=”cloud-download” target=”_blank” size=”medium” display=”inline”]Demo & Source[/gpp_button]