An English-Chinese dictionary, both cli and a node module.
$ npm install dict-en-zh
dict <word> [options]
to get help information, use dict -h
or dict --help
.
const dict = require('dict-en-zh')
dict('echo').then(console.log).catch(console.trace)
dict(word[, source='shanbay'])
, which is identical todict[source](word)
dict.shanbay(word)
dict.youdao(word)