Countable.js
Add live paragraph-, word- and character-counting to an HTML element.
No-build verifiedDormant0 dependenciesScript tagMIT
Facts
| Size | 1.9 KB minified, 0.9 KB gzipped (Countable.js) |
|---|---|
| Licence | MIT |
| Dependencies | none |
| Last release | v3.0.1, August 2018 |
| Last activity | 2022-02-11 (Dormant) |
| Stars | 1,636 on GitHub |
| Formats | classic script (global Countable) |
| CDN hits | 1,329 a month on jsDelivr |
| npm downloads | 7,233 a month |
| Gates | G1 passed (no runtime dependencies); G2 passed (loads in a browser as it is); G3 passed (no compile-only entry points); G4 passed (open-source licence); G5 passed (not archived or deprecated). Smoke test on v3.0.1 in headless Chromium, 2026-10-30 |
Load it
Pin the version. The hash is computed from the file jsDelivr serves, so a changed file fails to load instead of running.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/Countable.js"
integrity="sha384-xuOQ0nd6JOtGeWEXL/gqqvILl+1sgNCE27uBFyS87EGHZbgHI8McMtrcDux3vGZ2" crossorigin="anonymous"></script>Advertisement
Related libraries
- DragSelect An easy JavaScript library for selecting and moving elements. With no dependencies. Drag-Select & Drag-And-Drop. – Examples:
- Croppr.js A vanilla JavaScript image cropper that's lightweight, awesome, and has absolutely zero dependencies.
- PulltoRefresh.js A quick and powerful plugin for your pull-to-refresh needs in your webapp.
Entry 87 in the directory. Facts refreshed monthly; last run 2026-10-30.