@opentranslate2/deepl
v1.4.22
Published
DeepL translator with OpenTranslate API.
Downloads
993
Maintainers
Readme
@opentranslate/deepl
Deepl translator with OpenTranslate API.
Installation
Yarn
yarn add @opentranslate/deepl
NPM
npm i @opentranslate/deepl
Usage
import Deepl from '@opentranslate/deepl'
const deepl = new Deepl({
config: {
//please refer to https://www.deepl.com/pro.html
auth_key: ""
}
})
deepl.translate('text').then(console.log)
API
See translator for more details.
Disclaimer
The material and source code from this package are for study and research purposes only. Any reliance you place on such material or source code are strictly at your own risk.