The preferred method of installation is yarn. Alternatively, you can download the script directly. Out of the box, Countable can be used with AMD loaders (require.js), CommonJS loaders (node, browserify) or directly in the browser.
Countable offers an easy to understand API. With a single method call you can enable live paragraph-, word- and character-counting on a given HTML element.