wooorm/franc
Natural language detection observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4428
- days_rel: n/a
- days_push: 812
- n_releases_24m: 0
Adoption not part of the score
4411 stars · 182 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
franc is a JavaScript library that detects the natural language of text, supporting 82, 186, or 419 languages depending on the package variant. It also ships a CLI (franc-cli) for detecting languages from the command line.
Use cases
- detect the language of a text snippet
- identify what language a document is written in
- classify text by language code (ISO 639)
- filter or route content by detected language
- detect language from the command line
- rank the most likely languages for a sample of text
When to choose
- you need broad language coverage in JavaScript or Node.js
- you have reasonably long text samples (franc is accurate on larger documents)
- you want a simple ESM library with an optional CLI
When to avoid
- you need reliable detection on very short strings or single words
- you need language detection in a non-JavaScript stack
- you need per-language model tuning beyond allow/ignore lists
Facets
library · maturity stable
nlp cli developer-tools browser cli cross-platform language-detection esm javascript language-identification natural-language-processing nodejs deno
2 sources
- readme: https://github.com/wooorm/franc · fetched 2026-08-28 · c0a655dc3eb5
- homepage: https://wooorm.com/franc/ · fetched 2026-08-29 · 33c1f1f316e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wooorm/franc | main | 23 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem