1.4.2 • Published 2 years ago

@opentranslate/caiyun v1.4.2

Weekly downloads
13
License
MIT
Repository
github
Last release
2 years ago

@opentranslate/caiyun

npm-version OpenTranslate

caiyun translator with OpenTranslate API.

Installation

Yarn

yarn add @opentranslate/caiyun

NPM

npm i @opentranslate/caiyun

Usage

import Caiyun from '@opentranslate/caiyun'

const caiyun = new Caiyun({
    config: {
      //please refer to https://fanyi.caiyunapp.com/#/api
      token: ""
    }
  });

caiyun.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.

1.4.2

2 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.2

6 years ago

1.1.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago