wooorm/franc

Natural language detection

63
/ 100
Established

Uses trigram analysis to detect language across 82–414 languages (depending on package variant) based on speaker population, returning ISO 639-3 codes with confidence scores. Available as ESM modules for Node.js, Deno, and browsers, plus a CLI tool, with configurable filtering by minimum text length or language whitelist/blacklist.

4,381 stars and 627,743 monthly downloads. Used by 1 other package. No commits in the last 6 months. Available on npm.

Stale 6m
Maintenance 0 / 25
Adoption 21 / 25
Maturity 25 / 25
Community 17 / 25

How are scores calculated?

Stars

4,381

Forks

182

Language

JavaScript

License

MIT

Last pushed

Jun 12, 2024

Monthly downloads

627,743

Commits (30d)

0

Dependencies

1

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/wooorm/franc"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.