A mini translation tool in Node.js Install yarn global add m-translate or npm i -g m-translate You will have a command —— fy Usage fy <word> English → Chinese fy international # it will return '国际的' Chinese → English fy 快乐 # it will return 'happy'