
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
yd-word-book
Advanced tools
有道单词本命令行版,支持翻译查词并将单词添加到云端单词本
npm i yd-word-book -g
现支持两种登陆方式
// 网易邮箱密码登陆
$ yd login
请输入网易邮箱:xxx@163.com
请输入密码:xxx
// 失败输出
error login fail, pleace check your email or pwaaword current and try again
// 成功无输出
// cookie 登陆
// 网页打开 http://dict.youdao.com/wordbook/wordlist?keyfrom=login_from_dict2.index
// 登陆成功之后在 F12 唤出控制台
// 输入 document.cookie,复制输出
$ yd cookie add '复制的字符串'
$ yd node
🔍 Search word...
success Get 'node' translate.
info Visit 'http://www.youdao.com/w/eng/node' to see more.
英[nəʊd]美[noʊd]
n.节点;瘤;[数]叉点
n.(Node)人名;(法)诺德
[ 复数 nodes ]
// 搜索并添加到单词本
$ yd node -s
🔍 Search word...
success Get 'node' translate.
success Add 'node' to word book.
info Visit 'http://www.youdao.com/w/eng/node' to see more.
英[nəʊd]美[noʊd]
n.节点;瘤;[数]叉点
n.(Node)人名;(法)诺德
[ 复数 nodes ]
Usage: yd [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
Commands:
search search words's translate
login login netease email accout
cookie manage local cookie
help [cmd] display help for [cmd]
FAQs
We found that yd-word-book demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.