Notorious Penguin Magicians
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    dict-en-zhpublic

    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

    install

    npm i dict-en-zh

    Downloadsweekly downloads

    4

    version

    0.2.1

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar