
Research
/Security News
DuckDB npm Account Compromised in Continuing Supply Chain Attack
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
汉字、词语、成语查询接口
JSON
文件,大小超出 20M
,不利于页面加载使用,所以拆分了文件build/parse.html
的拆分脚本<script src="https://cdn.jsdelivr.net/npm/zidian@0.0.3/dist/zidian.js"></script>
<!-- or -->
<script src="https://cdn.jsdelivr.net/gh/netnr/zidian/dist/zidian.js"></script>
查看 https://unpkg.com/zidian/
拉取 npm install zidian
汉字查询
zidian.equalWord(key)
zidian.equalWord("爱").then(console.log)
词语查询
zidian.equalCi(key)
zidian.equalCi("美丽").then(console.log)
成语查询
zidian.equalIdiom(key)
zidian.equalIdiom("叶公好龙").then(console.log)
词语模糊搜索
zidian.likeCi(key)
zidian.likeCi("美").then(console.log)
成语模糊搜索
zidian.likeIdiom(key)
zidian.likeIdiom("三百").then(console.log)
Promise
对象zidian.cache
对象null
zidian.config.host
可配置请求源FAQs
We found that zidian 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.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.