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

1.5.1 • Public • Published

@theowenyoung/deepl

npm-version OpenTranslate

Deepl translator with OpenTranslate API.

Installation

Yarn

yarn add @theowenyoung/deepl

NPM

npm i @theowenyoung/deepl

Usage

import Deepl from '@theowenyoung/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.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @theowenyoung/deepl

    Weekly Downloads

    1

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    15.3 kB

    Total Files

    11

    Last publish

    Collaborators

    • theowenyoung