@opentranslate2/youdao
v1.4.20
Published
Youdao translator with OpenTranslate API.
Downloads
660
Maintainers
Readme
@opentranslate/youdao
Youdao translator with OpenTranslate API.
Installation
Yarn
yarn add @opentranslate/youdao
NPM
npm i @opentranslate/youdao
Usage
import Youdao from '@opentranslate/youdao'
//please visit http://ai.youdao.com/gw.s for more information.
const youdao = new Youdao(config: {
appKey: "your appKey",
key: "your Key"
})
youdao.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.