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