@opentranslate2/deepl
TypeScript icon, indicating that this package has built-in type declarations

1.4.22 • Public • Published

@opentranslate/deepl

npm-version OpenTranslate

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.

Package Sidebar

Install

npm i @opentranslate2/deepl

Weekly Downloads

234

Version

1.4.22

License

MIT

Unpacked Size

29.4 kB

Total Files

10

Last publish

Collaborators

  • allentown521