1.2.0 • Published 4 years ago

deepl-api v1.2.0

Weekly downloads
32
License
MIT
Repository
-
Last release
4 years ago

Deepl-api

A deelpAPI wrapper available in typescript

Install

npm

npm install deepl-api

yarn

yarn add deepl-api

Use

import { translate } from 'deepl-api';

const response = await translate({
  text: 'Hello',
  target_lang: 'JA',
  auth_key: 'authkey',
})

console.log(response.data);

response.data

{
  "translations": [
    {
      "detected_source_language": "EN",
      "text": "こんにちは"
    }
  ]
}

see

1.2.0

4 years ago

1.1.1

4 years ago

1.1.2

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago