# RadLikeWhoa/Countable

Add live paragraph-, word- and character-counting to an HTML element.

Repository: https://github.com/RadLikeWhoa/Countable
Canonical: https://ross.abutalabs.com/products/countable
Homepage: https://sacha.me/Countable
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, counting, words, library
Last push: 2022-02-11T05:13:43+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4925, "days_push": 1664, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1639, forks 132 (observed 2026-08-28T04:05:15.161537+00:00)

## What it is
Countable is a tiny, zero-dependency JavaScript library (~1KB) that adds live paragraph, word, sentence, and character counting to HTML elements. It works as a Node/CommonJS module, AMD module, or global script and updates counts whenever an element's value changes.

## Use cases
- count words in a textarea as the user types
- show live character counts on form inputs
- count paragraphs and sentences in editable HTML elements
- add a word counter to a comment box or editor
- get one-off text statistics for an element's content

## When to choose
- you need lightweight live text counting in the browser with no dependencies
- you want paragraph, word, sentence, and character stats from a simple API
- you need a library that works via npm, AMD, or a global script tag

## When to avoid
- you need rich text analysis beyond basic counting
- you need a framework-specific component (React/Vue) rather than a plain JS function
- the project requires actively maintained dependencies or recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: word-count, character-count, live-counting, zero-dependency, text-stats, nodejs

## Member repositories
- RadLikeWhoa/Countable (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.161537+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:46:25.501098+00:00, confidence not recorded.
  - readme: https://github.com/RadLikeWhoa/Countable (fetched 2026-08-28T04:05:15.161537+00:00, sha e120f84cf3e8)
  - registry_npm: https://registry.npmjs.org/countable (fetched 2026-08-29T11:19:45.071942+00:00, sha 75a80b3dd256)
- Data as of 2026-08-30T08:39:29.467469+00:00.
