1.0.3 • Published 5 years ago
youdao-translate-new v1.0.3
有道翻译
How to use?
$ npm i youdao-translate-new
then
const youdaoTranslate = require('youdao-translate-new')(<appID>, <appSecret>);
youdaoTranslate('我爱你中国').then(res => {
console.log(res)
}, err => {
console.log(err)
});