10 Best JavaScript Language Detection Libraries

List hand-picked by Openbase Experts
Learn More

cld

Language detection for Javascript. Based on the CLD2 (Compact Language Detector) library from Google. Highly optimized for space and speed. Runs about 10x faster than other libraries. Detects over 160 languages. Full test coverage. Runs on Linux, OS X, an

12.3K
Built-in
fra

Natural language detection

20.2K
3.7K
Built-in
MIT
lan

🇫🇷 NodeJS language detection library using n-gram

19.7K
338
Built-in
i18next-browser-languagedetector

language detector used in browser environment for i18next

864K
626
Built-in
MIT
sni

Browser, os and device detection

16.4K
38
No support
MIT
li

Multi Languages Detection for Text-Mining and Natural Language Processing - True ITK - Open Source

3.1K
No support
GPL-3.0
lan

language-detection library for node.js

1.6K
14
No support
Apache License, Version 2.0
@unly/universal-language-detector

Language detector that works universally (browser + server) - Meant to be used with a universal framework, such as Next.js

738
70
No support
MIT
tika

Apache Tika bridge for Node.js. Text and metadata extraction, language detection and more.

43
135
No support
MIT
rl

Detect then language of text with Retext

10
9
No support
MIT
language-detection

NodeJS Library for the languagelayer API Service

3
2
No support
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.