# deepl-languages

> Maps supported languages by DeepL

Latest version **0.1.19** (published 2026-07-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install deepl-languages
pnpm add deepl-languages
yarn add deepl-languages
bun add deepl-languages
```

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

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

## Facts

| | |
|---|---|
| Version | 0.1.19 |
| Published | 2026-07-25 |
| First published | 2022-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Eliott Vincent |
| Maintainers | eliottvct |
| Keywords | deepl, translation, language, languages, language-list, BCP 47, ISO 3166-1 |

## Links

- npm: https://www.npmjs.com/package/deepl-languages
- Repository: https://github.com/eliottvincent/deepl-languages
- Issues: https://github.com/eliottvincent/deepl-languages/issues
- npm.io page: https://npm.io/package/deepl-languages

## Alternatives

- [messageformat](https://npm.io/package/messageformat.md) — 329.7K weekly downloads
- [@mintlify/scraping](https://npm.io/package/@mintlify/scraping.md) — 294.8K weekly downloads
- [@mintlify/previewing](https://npm.io/package/@mintlify/previewing.md) — 209.5K weekly downloads
- [@mintlify/prebuild](https://npm.io/package/@mintlify/prebuild.md) — 209.5K weekly downloads
- [@mintlify/link-rot](https://npm.io/package/@mintlify/link-rot.md) — 206.3K weekly downloads

## Recent versions

- 0.1.19 (latest) — 2026-07-25
- 0.1.18 — 2026-04-19
- 0.1.17 — 2026-02-25
- 0.1.16 — 2026-02-22
- 0.1.15 — 2025-11-07
- 0.1.14 — 2025-10-10
- 0.1.13 — 2025-07-28
- 0.1.12 — 2025-07-25
- 0.1.11 — 2025-07-22
- 0.1.10 — 2025-04-16
- 0.1.9 — 2024-07-19
- 0.1.8 — 2024-07-13
- 0.1.7 — 2023-06-04
- 0.1.6 — 2023-01-28
- 0.1.5 — 2022-09-07
- … 5 more at https://npm.io/package/deepl-languages/versions

## README

# DeepL Languages

[![Build Status](https://github.com/eliottvincent/deepl-languages/actions/workflows/action.yml/badge.svg)](https://github.com/eliottvincent/deepl-languages/actions) [![Version](https://img.shields.io/npm/v/deepl-languages.svg)](https://www.npmjs.com/package/deepl-languages) [![Downloads](https://img.shields.io/npm/dt/deepl-languages.svg)](https://www.npmjs.com/package/deepl-languages)

Maps the languages currently supported by operations of the DeepL API. The data **auto-updates every 3 days**, if needed.


## Usage

```js
const { isLanguageSupported } = require("deepl-languages");

console.log(isLanguageSupported("en"));
// true
```


## API

### Access to supported languages

The raw sets of supported languages, as returned by DeepL API, are made accessible:

```js
const { source } = require("deepl-languages");

console.log(source);
// [{language: 'BG', name: 'Bulgarian'}, {…}, {…}, …]

// OR
const deepL = require("deepl-languages");

console.log(deepL.dataSource);
// [{language: 'BG', name: 'Bulgarian'}, {…}, {…}, …]
```
Supported types are: `source` & `target`.

### Check if a language is supported
`isLanguageSupported(code, type)` returns whether a language is supported or not:
* `code` must be a BCP 47 language tag, as per [ISO 3166-1](https://en.wikipedia.org/wiki/ISO_3166-1)
* `type` must be either `source` or `target` (defaults to `source`)

```js
const { isLanguageSupported } = require("deepl-languages");

console.log(isLanguageSupported("en"));
// true

console.log(isLanguageSupported("en", "source"));
// true

console.log(isLanguageSupported("en-gb", "target"));
// true
```


## License

deepl-languages is released under the MIT License. See the bundled LICENSE file for details.

---
_Source: https://npm.io/package/deepl-languages · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
