# @react-native-ml-kit/identify-languages

> React Native On-Device Language Identification w/ Google ML Kit

Latest version **2.0.0** (published 2025-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-native-ml-kit/identify-languages
pnpm add @react-native-ml-kit/identify-languages
yarn add @react-native-ml-kit/identify-languages
bun add @react-native-ml-kit/identify-languages
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2025-09-01 |
| First published | 2021-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 22.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 587 |
| Author | Ahmed Mahmoud |
| Maintainers | a7medev |
| Keywords | react-native |

## Links

- npm: https://www.npmjs.com/package/@react-native-ml-kit/identify-languages
- Repository: https://github.com/a7med-mahmoud/react-native-ml-kit
- npm.io page: https://npm.io/package/@react-native-ml-kit/identify-languages

## Recent versions

- 2.0.0 (latest) — 2025-09-01
- 1.0.1-alpha (next) — 2021-10-17
- 1.3.2 — 2024-07-14
- 1.3.1 — 2023-09-30
- 1.3.0 — 2023-09-30
- 1.2.0 — 2023-09-18
- 1.1.1 — 2022-05-15
- 1.1.0 — 2022-05-15
- 1.0.0 — 2022-01-20
- 1.0.0-alpha — 2021-10-16

## README

# @react-native-ml-kit/identify-languages

React Native On-Device Language Identification w/ Google ML Kit

## Getting started

`npm install @react-native-ml-kit/identify-languages --save`

### Linking

#### React Native > 0.59

[CLI autolink feature](https://github.com/react-native-community/cli/blob/master/docs/autolinking.md) links the module while building the app.

#### React Native <= 0.59

`react-native link @react-native-ml-kit/identify-languages`

### Installing Pods

On iOS, use CocoaPods to add the native RNMLKitIdentifyLanguages to your project:

`npx pod-install`

## Usage

```javascript
import IdentifyLanguages from '@react-native-ml-kit/identify-languages';

const lang = await IdentifyLanguages.identify('Ciao'); // "it" (Italian)

const possibleLangs = await IdentifyLanguages.identifyPossible('Ciao'); // [{ "language": "it", "confidence": 0.9789841771125793 }, { "confidence": 0.012451663613319397, "language": "zh-Latn" }]
```

---
_Source: https://npm.io/package/@react-native-ml-kit/identify-languages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
