Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

xhr-translate

xhrbtk10ISC1.0.6

A simple translate tool

readme

Fanyi

A 🇨🇳 and 🇺🇸 translate tool in your command line.

Install

$ npm install xhr-translate -g

Usage

$ trans word

Translation data is fetched from [https://fanyi.baidu.com/], and only support translation between Chinese and English.

In Mac/Linux bash, words will be pronounced by say command.