
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
youdao-node
Advanced tools
有道智云非官方Node.js SDK,API官方文档: http://ai.youdao.com/doc.s#docs
$ yarn add youdao-node
import youdao from 'youdao-node';
youdao.config({
appKey: <your appkey>,
appSecret: <your appSecret>
});
注意: 需要到官网创建应用获取appKey和appSecret,并为服务添加相应的实例
content
(String): 需要翻译的文本内容from
(String): 源语言(可设置为auto,默认为auto)to
(String): 目标(可设置为auto,默认为auto)可翻译语言列表参考:http://ai.youdao.com/docs/doc-trans-api.s#p05
const res = await youdao.translate({
content: '你好',
from: 'zh-CHS',
to: 'EN'
});
img
(String): 需要翻译的图片base64或图片链接字符串langType
(String): 目前支持英文:en,和中英混合:zh-en,默认为zh-enconst res = await youdao.ocr({
img: <base64> || <imageUrl>
});
MIT
FAQs
youdaozhiyun sdk for nodejs
The npm package youdao-node receives a total of 0 weekly downloads. As such, youdao-node popularity was classified as not popular.
We found that youdao-node 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.