🌜
🌞

Best JavaScript Language Detection Libraries

get-user-locale

get-user-locale

v1.5.1

Returns a list of strings representing the user's preferred languages.

Last Commit
Aug 4, 2022
GitHub Stargazers
47
License
MIT
Contributors
5
chardet

chardet

v1.4.0

Character encoding detector

Last Commit
Oct 19, 2021
GitHub Stargazers
158
License
MIT
Contributors
9
languagedetect

languagedetect

v2.0.0

Nodejs language detection library using n-gram

Last Commit
Jul 9, 2020
GitHub Stargazers
343
License
BSD-2-Clause
Contributors
9
cld

cld

v2.8.2

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

Last Commit
Aug 11, 2022
GitHub Stargazers
243
License
Apache-2.0
Contributors
10
mailchecker

mailchecker

v5.0.0

Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.

Last Commit
Sep 10, 2022
GitHub Stargazers
1,396
License
MIT
Contributors
78
tinyld

tinyld

v1.3.0

Simple and Performant Language detection library (pure JS and zero dependencies)

Last Commit
Jul 23, 2022
GitHub Stargazers
24
License
MIT
Contributors
1
wink-nlp

wink-nlp

v1.12.0

Developer friendly Natural Language Processing ✨

Last Commit
May 30, 2022
GitHub Stargazers
294
License
MIT
Contributors
4
detectlanguage

detectlanguage

v2.1.0

Detect Language API Node.js Client

Last Commit
Apr 30, 2022
GitHub Stargazers
14
License
MIT
Contributors
3
hapi-locale-17

hapi-locale-17

v2.0.30

Locale and language detection for Hapi v17

Last Commit
-
GitHub Stargazers
1
License
MIT
Contributors
detect-file-encoding-and-language

detect-file-encoding-and-language

v2.2.2

Charset Detector - Detect the encoding and language of text files - Use it in the browser, with Node.js, or via CLI

Last Commit
Jun 15, 2022
GitHub Stargazers
15
License
MIT
Contributors
2
tika

tika

v1.6.1

Apache Tika bridge. Text extraction, metadata extraction, mimetype detection and language detection.

Last Commit
Feb 22, 2017
GitHub Stargazers
135
License
MIT
Contributors
5
@elchetz/cld

@elchetz/cld

v2.8.2

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

Last Commit
Aug 10, 2021
GitHub Stargazers
-
License
Apache-2.0
Contributors
11
trigrams

trigrams

v5.0.0

Trigram files for 400+ languages

Last Commit
-
GitHub Stargazers
14
License
MIT
Contributors
2
lang-detector

lang-detector

v1.0.6

A library for detecting the programming language of a code snippet.

Last Commit
Jan 22, 2019
GitHub Stargazers
35
License
MIT
Contributors
2
preferred-locale

preferred-locale

v1.0.10

Get the users' most preferred locale/language from your app's available translations with zero dependencies

Last Commit
Aug 4, 2022
GitHub Stargazers
12
License
MIT
Contributors
1
flourite

flourite

v1.2.2

A library for detecting the programming language of a code snippet.

Last Commit
-
GitHub Stargazers
9
License
MIT
Contributors
6
browser-detection.js

browser-detection.js

v1.0.3

JavaScript Detection for Mobile Devices, Internet Explorer, Browser UserAgents and Language.

Last Commit
-
GitHub Stargazers
4
License
MIT
Contributors
1
cld-sync

cld-sync

v1.0.0

Language detection for Javascript. Originally based on async node cld (v2.4.7) library.

Last Commit
-
GitHub Stargazers
-
License
Apache-2.0
Contributors
1
language-monitor

language-monitor

v1.0.3

Nodejs language monitor library using languagedetect and unicode

Last Commit
Jan 26, 2016
GitHub Stargazers
1
License
MIT
Contributors
1
@conscia/tika

@conscia/tika

v1.15.2

Apache Tika bridge. Text extraction, metadata extraction, mimetype detection and language detection.

Last Commit
-
GitHub Stargazers
2
License
MIT
Contributors
9