Skip to content

An English-Chinese dictionary, both cli and a node module.

License

Notifications You must be signed in to change notification settings

yusuf-murodov/dict-en-zh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dict-en-zh

An English-Chinese dictionary, both cli and a node module.

screenshot

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 to dict[source](word)
  • dict.shanbay(word)
  • dict.youdao(word)

License

MIT

About

An English-Chinese dictionary, both cli and a node module.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%