an alfred workflow to translate words through google translate
create a alfred workfolw contain a script filter ,then choose the language => /bash/bin
the script content is in file script
the domain used to request is https://translate.google.cn ,because of some wall. so if you are not chinese,you should change the domain and default target language.
nvm install 11.10.0 npm install