npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

easy-dict

v2.1.0

Published

a easy-project

Readme

npm GitHub license PRs Welcome

easy-dict

easy-dict 是一个可以直接在命令行界面中 操作 的词典

词库来源于 google 和 有道

安装

npm install -g easy-dict

使用

它有两种使用方式

1、命令行界面操作 (推荐✨)

界面主要分为

  • 操作区:在这里输入你想要翻译的内容(支持复制)

    想要输入的时候:点击键盘上的 i 键位,启动输入模式

  • 搜索按钮:点击后进行翻译
  • 输入区:显示你要翻译的内容
  • 输出区:显示翻译后的结果
  • 其他区:显示词汇的定义(动词,名次等)的造句
  • 更多内容区:显示词汇的其他解释

在通过命令行操作

1、默认使用 youdao 翻译

easy dict <word>

2、使用 google 词典

easy dict <word> -s google

3、翻译英文单词

easy dict question

4、翻译英文句子

easy dict 'question is a question'

5、翻译中文单词

easy dict 中国

6、翻译中文句子

easy dict '我是中国人'

执行 easy dict -h

  Usage: dict [options] <word>

  A Tool For Translaion

  Options:

    -s, --source <name>  default youdao, where is the source for dict
    -h, --help           output usage information

TODO

  • [ ] - 优化内容显示
  • [ ] - 提高字典的稳定性
  • [ ] - 提供界面皮肤自定义

如何贡献

1.拥有 GitHub 账户 (如果你还没有)

2.Fork 这个仓库

3.在你克隆的仓库上进行修改

4.提交一个 PR。

License

MIT © zhaoqize