Skip to content

A free and unlimited API for Google Translate in China mainland

Notifications You must be signed in to change notification settings

duyongguang/googlecn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

googlecn

模拟浏览器访问 https://translate.google.cn ,获取谷歌免费机翻结果

安装

npm install googlecn

用法

var translate = require('googlecn');
translate('this is China.', {from: 'en', to: 'zh-CN'}).then(result => {
        console.log(result);
}).catch(error => {
        console.log(error);
}); 

About

A free and unlimited API for Google Translate in China mainland

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published