@deeplx/core
v0.1.3
Published
An unofficial but powerful and easy-to-use yet free DeepL API client for Node.js using [DeepL](https://www.deepl.com) by porting [OwO-Network/DeepLX](https://github.com/OwO-Network/DeepLX).
Maintainers
Readme
@deeplx/core
An unofficial but powerful and easy-to-use yet free DeepL API client for Node.js using DeepL by porting OwO-Network/DeepLX.
TOC
Online Service
https://deeplx.vercel.app/translate
Installation
# npm
npm i @deeplx/core
# pnpm
pnpm add @deeplx/core
# yarn
yarn add @deeplx/coreUsage
Supported languages
Currently the following languages are supported:
| Abbreviation | Language | Writing in own language | | ------------ | ---------- | ----------------------- | | BG | Bulgarian | Български | | ZH | Chinese | 中文 | | CS | Czech | Česky | | DA | Danish | Dansk | | NL | Dutch | Nederlands | | EN | English | English | | ET | Estonian | Eesti | | FI | Finnish | Suomi | | FR | French | Français | | DE | German | Deutsch | | EL | Greek | Ελληνικά | | HU | Hungarian | Magyar | | IT | Italian | Italiano | | JA | Japanese | 日本語 | | LV | Latvian | Latviešu | | LT | Lithuanian | Lietuvių | | PL | Polish | Polski | | PT | Portuguese | Português | | RO | Romanian | Română | | RU | Russian | Русский | | SK | Slovak | Slovenčina | | SL | Slovenian | Slovenščina | | ES | Spanish | Español | | SV | Swedish | Svenska | | UK | Ukrainian | Українська Мова |
You can either input the abbreviation or the language written in english.
Example 1
This will translate a Chinese (ZH) text into Dutch (NL):
import { translate } from '@deeplx/core'
await translate('你好', 'NL')'Hallo'Example 2
This will translate a danish text into german in informal tone:
import { translate } from '@deeplx/core'
await translate('Ring til mig!', 'german', 'danish', false)'Ruf mich an!'Sponsors and Backers
Sponsors
| 1stG | RxTS | UnTS |
| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
| |
|
|
Backers
| 1stG | RxTS | UnTS |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| |
|
|
Changelog
Detailed changes for each release are documented in CHANGELOG.md.
