Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
baidu-translate-service
Advanced tools
This component library is applicable to the Nodejs server and obtains translation results through the Baidu Translation API
字段名 | 类型 | 是否必填 | 描述 | 备注 |
---|---|---|---|---|
q | string | 是 | 请求翻译query | UTF-8编码 |
from | string | 是 | 翻译源语言 | 可设置为auto |
to | string | 是 | 翻译目标语言 | 不可设置为auto |
appid | string | 是 | APPID | 可在管理控制台查看 |
key | string | 是 | 秘钥 | 在控制台申请查看 |
tts | integer | 否 | 是否显示语音合成资源 | 0-显示,1-不显示 |
dict | integer | 否 | 是否显示词典资源 | 0-显示,1-不显示 |
action | integer | 否 | 判断是否需要使用自定义术语干预API | 1-是,0-否 |
var baiduTranslateService = require("baidu-translate-service");
baiduTranslateService({
appid: "",
key: "",
to: "en",
from: "auto",
q: "今天星期几?",
}).then((result) => {
console.log(result);
});
FAQs
BaiDu Universal translation API access document
The npm package baidu-translate-service receives a total of 1 weekly downloads. As such, baidu-translate-service popularity was classified as not popular.
We found that baidu-translate-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.