@theowenyoung/youdao
v1.5.1
Published
Youdao translator with OpenTranslate API.
Downloads
3
Maintainers
Readme
@theowenyoung/youdao
Youdao translator with OpenTranslate API.
Installation
Yarn
yarn add @theowenyoung/youdao
NPM
npm i @theowenyoung/youdao
Usage
import Youdao from '@theowenyoung/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.