Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
node-dict
Advanced tools
Readme
Nodejs >= 16.0.0 required.
npm install node-dict -g
dict [word]
$ dict hello
Output:
✔ [bing] hello
美[heˈləʊ],英[həˈləʊ],int. 你好;喂;您好;哈喽; 网络释义: 哈罗;哈啰;大家好;
Usage: dict <word>
-h, --help Show help message
--bing Set Bing dictionary as default. (default)
--youdao Set Youdao dictionary as default
-d, --default Show default dictionary.
-v, --version Show version number
npm i node-dict
import { nodeDict } from 'node-dict'
const result = await nodeDict('hello')
console.log(result)
output:
{
crawler: 'bing',
source: 'test',
result: '美[test],英[test],v. 试验;测试;检测;测验; n. 试验;检测;考试;测验; 网络释义: 检验;考验;睾酮(testosterone); '
}
FAQs
Easy to translate in the terminal
The npm package node-dict receives a total of 25 weekly downloads. As such, node-dict popularity was classified as not popular.
We found that node-dict demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.